view bin/wisdom @ 11169:c2a7f8054522

<shachaf> revert
author HackBot
date Mon, 28 Aug 2017 00:28:05 +0000
parents c943ffcb5fef
children b40ec4756767
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