Mercurial > repo
view bin/wisdom @ 9997:f1ed053e4469
<int-e> slwd boring//s/.$/, unless it is done to pigs./
author | HackBot |
---|---|
date | Mon, 19 Dec 2016 22:40:45 +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