view bin/wisdom @ 10372:f04f06041b47

<oerjan> ` echo hum>test; echo erm>test2
author HackBot
date Tue, 07 Mar 2017 23:22:53 +0000
parents dbe661460e11
children c943ffcb5fef
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