# HG changeset patch # User HackBot # Date 1481765206 0 # Node ID dbe661460e116cf3b25714d3fb0b85aadcc969f1 # Parent 374081f5fb18cae62a7b5f8126282decb01b5578 undo 9971 diff -r 374081f5fb18 -r dbe661460e11 bin/wisdom --- a/bin/wisdom Thu Dec 15 01:25:20 2016 +0000 +++ b/bin/wisdom Thu Dec 15 01:26:46 2016 +0000 @@ -1,1 +1,1 @@ -wisdom "$@" +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