Mercurial > repo
view bin/wisdom @ 11200:bab35b823773
<int-e> ` sed -i \'$s=sha[c]haf=shach\x0faf=\' quotes > /dev/null
author | HackBot |
---|---|
date | Tue, 26 Sep 2017 10:49:31 +0000 |
parents | fe69920e3442 |
children | 602a161bac23 |
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