comparison bin/wisdom @ 9770:c2d240687296

<oerjan> sled bin/wisdom//s,shuf,shuf --random-source=/dev/urandom,
author HackBot
date Thu, 24 Nov 2016 01:22:36 +0000
parents c989a1669243
children 41be7793b05b
comparison
equal deleted inserted replaced
9769:aca45344c67e 9770:c2d240687296
1 f=$(find wisdom -ipath "wisdom/*$1*" -type f -print0 | shuf -z -n1); if [ -n "$f" ]; then echo -n "${f#wisdom/}//"; cat "$f"; else echo "That's not wise."; fi | rnooodl 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