view bin/wisdom @ 11336:3e52041e3b35

<int-e> mkx bin/dc//DC_LINE_LENGTH=10000 /usr/bin/dc "$@"
author HackBot
date Sun, 28 Jan 2018 20:50:06 +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