Mercurial > repo
view bin/wisdom @ 11261:909f0c9d02de
<fizzie> ` sed -i -e "s|$| , fizzie\'s font https://github.com/fis/rfk86/tree/master/web/font|" wisdom/font
author | HackBot |
---|---|
date | Tue, 12 Dec 2017 18:59:45 +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