changeset 8640:21c571ebfde2

<oerjan> revert
author HackBot
date Tue, 28 Jun 2016 23:50:55 +0000
parents 7b6c390eaef6
children 0ee04f5ba41b
files bin/wisdom
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/wisdom	Tue Jun 28 23:50:06 2016 +0000
+++ b/bin/wisdom	Tue Jun 28 23:50:55 2016 +0000
@@ -1,1 +1,1 @@
-f="$(find wisdom -path "wisdom/*$(echo "$1" | lowercase)1,,}*" -type f -print0 | shuf -z -n1)"; echo -n "${f#wisdom/}//" | rnooodl; rnooodl < "$f"
+f="$(find wisdom -path "wisdom/*${1,,}*" -type f -print0 | shuf -z -n1)"; echo -n "${f#wisdom/}//" | rnooodl; rnooodl < "$f"