Mercurial > repo
view bin/wisdom @ 11157:3467749980d9
<int-e> learn The Boredome is a dangerous place swarming with woodpeckers, dentists, and bookworms.
author | HackBot |
---|---|
date | Sun, 20 Aug 2017 12:27:15 +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