view bin/wisdom @ 9956:d2a8c9eeffa2

<oerjan> sled share/scowrevs//s,2113,2112,
author HackBot
date Mon, 12 Dec 2016 03:36:11 +0000
parents c2d240687296
children 41be7793b05b
line wrap: on
line source

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