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