comparison bin/wisdom @ 9971:41be7793b05b

<oerjan> mkx bin/w//wisdom "$@"
author HackBot
date Thu, 15 Dec 2016 00:59:19 +0000
parents c2d240687296
children 739a547c2541
comparison
equal deleted inserted replaced
9970:72d4ab48f189 9971:41be7793b05b
1 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 1 wisdom "$@"