annotate bin/wisdom @ 9974:739a547c2541

<oerjan> undo 9971
author HackBot
date Thu, 15 Dec 2016 01:25:05 +0000
parents 41be7793b05b
children 374081f5fb18
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9974
739a547c2541 <oerjan> undo 9971
HackBot
parents: 9971
diff changeset
1 f=$(find wisdom -ipath "wisdom/*$1*" -type f -print0 | shuf --random-source=/dev/urandom -z -n1); if [ -n "$f" ]; then echo -n "${f#wisdom/}//"; cat "$f"; else echo "That's not wise."; fi | rnooodl