# HG changeset patch # User HackBot # Date 1435849981 0 # Node ID 03cae10bca27912e0792541ceee6d01ef65b3f84 # Parent 2f0de4a6fe7a9652a0b97b7184349af3a14d6e64 ` sed -i \'s/"$1"/*"$1"*/\' bin/wisdom diff -r 2f0de4a6fe7a -r 03cae10bca27 bin/wisdom --- 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