changeset 5778:03cae10bca27

<oerjan> ` sed -i \'s/"$1"/*"$1"*/\' bin/wisdom
author HackBot
date Thu, 02 Jul 2015 15:13:01 +0000
parents 2f0de4a6fe7a
children ba01e19d77d9
files bin/wisdom
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/wisdom	Thu Jul 02 15:06:48 2015 +0000
+++ b/bin/wisdom	Thu Jul 02 15:13:01 2015 +0000
@@ -1,1 +1,1 @@
-F="$(find wisdom/"$1" -type f | shuf -n1)"; echo -n "${F#wisdom/}/" | rnooodl; cat "$F" | rnooodl
+F="$(find wisdom/*"$1"* -type f | shuf -n1)"; echo -n "${F#wisdom/}/" | rnooodl; cat "$F" | rnooodl