Mercurial > repo
view bin/wisdom @ 10794:c2b7c7a04c70
<oerjan> sled bin/erro//s,.$,;s/$/\x0f/\',
author | HackBot |
---|---|
date | Sat, 22 Apr 2017 01:03:08 +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