changeset 11172:fe69920e3442

<shachaf> sled bin/wisdom//s/"\\${/\x02&/; s#//#\x0f&#
author HackBot
date Mon, 28 Aug 2017 00:28:44 +0000
parents b4fe1f8067b4
children 035e8fa9a4da
files bin/wisdom
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/wisdom	Mon Aug 28 00:28:33 2017 +0000
+++ b/bin/wisdom	Mon Aug 28 00:28:44 2017 +0000
@@ -1,1 +1,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
+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