# HG changeset patch # User HackBot # Date 1481765105 0 # Node ID 739a547c25418b11d4099f24b3e18ba4ef7b18e0 # Parent 8155c38b52e98b99436e5f52ae314e0cb92daf1f undo 9971 diff -r 8155c38b52e9 -r 739a547c2541 bin/wisdom --- a/bin/wisdom Thu Dec 15 01:22:57 2016 +0000 +++ b/bin/wisdom Thu Dec 15 01:25:05 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