Mercurial > repo
changeset 8650:4337d7793b19
<izabera> ` echo \'f="$(find wisdom -ipath "wisdom/*$1*" -type f -print0 | shuf -z -n1); echo -n "${f#wisdom/}//" | rnooooooodl; rnoooooooodl < "$f"\' > bin/wisdom
author | HackBot |
---|---|
date | Wed, 29 Jun 2016 00:26:03 +0000 |
parents | 7d8b9941ae6d |
children | fafdbe9ac23c |
files | bin/wisdom |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/wisdom Wed Jun 29 00:21:27 2016 +0000 +++ b/bin/wisdom Wed Jun 29 00:26:03 2016 +0000 @@ -1,1 +1,1 @@ -F="$(find wisdom -path "wisdom/*$(echo "$1" | lowercase)*" -type f -print0 | shuf -z -n1)"; echo -n "${F#wisdom/}//" | rnooodl; cat "$F" | rnooodl +f="$(find wisdom -ipath "wisdom/*$1*" -type f -print0 | shuf -z -n1); echo -n "${f#wisdom/}//" | rnooooooodl; rnoooooooodl < "$f"