annotate bin/wisdom @ 11171:b4fe1f8067b4

<shachaf> revert
author HackBot
date Mon, 28 Aug 2017 00:28:33 +0000
parents b40ec4756767
children fe69920e3442
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11171
b4fe1f8067b4 <shachaf> revert
HackBot
parents: 11170
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