view bin/wisdom @ 9784:222ebb0185b5

<oerjan> learn @learn @messages-loud @messages-fond @messages-flood @messages-bond / @messages-lousy @messages-sound @messages-lost @messages-found / @messages-proud @messages-bold @messages-good @messages-gold
author HackBot
date Mon, 28 Nov 2016 18:00:46 +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