Mercurial > repo
view bin/wisdom @ 9962:6568b92749b2
<boily> slwd oerjan//s/swr/f\xc3\xa6ric/
author | HackBot |
---|---|
date | Wed, 14 Dec 2016 01:22:47 +0000 |
parents | c2d240687296 |
children | 41be7793b05b |
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