Mercurial > repo
view bin/wisdom @ 10190:ca23294c6863
<oerjan> addquote <Phantom_Hoover> but i said at the start \'i have good reasons for this, i\'m not crazy\'!
author | HackBot |
---|---|
date | Sun, 29 Jan 2017 10:31:51 +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