changeset 8613:f552b1d779df

<oerjan> sled bin/wisdom//s,-name ",-ipath "wisdom/,
author HackBot
date Sun, 26 Jun 2016 04:37:12 +0000
parents 437b86c5c2da
children 8dd0233b7520
files bin/wisdom
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/wisdom	Sun Jun 26 03:49:19 2016 +0000
+++ b/bin/wisdom	Sun Jun 26 04:37:12 2016 +0000
@@ -1,1 +1,1 @@
-F="$(find wisdom -name "*$(echo "$1" | lowercase)*" -type f -print0 | shuf -z -n1)"; echo -n "${F#wisdom/}//" | rnooodl; cat "$F" | rnooodl
+F="$(find wisdom -ipath "wisdom/*$(echo "$1" | lowercase)*" -type f -print0 | shuf -z -n1)"; echo -n "${F#wisdom/}//" | rnooodl; cat "$F" | rnooodl