Mercurial > repo
changeset 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 | aca45344c67e |
children | 3e54f8d1843f |
files | bin/wisdom |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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