# HG changeset patch # User HackBot # Date 1479950556 0 # Node ID c2d2406872966559d92454415a873ca3024643d7 # Parent aca45344c67ef6ff3743a64740fd32e2d256542f sled bin/wisdom//s,shuf,shuf --random-source=/dev/urandom, diff -r aca45344c67e -r c2d240687296 bin/wisdom --- a/bin/wisdom Wed Nov 23 23:58:05 2016 +0000 +++ b/bin/wisdom Thu Nov 24 01:22:36 2016 +0000 @@ -1,1 +1,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 +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