annotate bin/wisdom @ 10340:4d09ce3dbd12

<oerjan> sled bin/?//3s,``,`\\\\(`\\\\|$\\\\),
author HackBot
date Fri, 24 Feb 2017 01:55:06 +0000
parents dbe661460e11
children c943ffcb5fef
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9976
dbe661460e11 <oerjan> undo 9971
HackBot
parents: 9975
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