comparison bin/wisdom @ 11168:c943ffcb5fef

<shachaf> sled bin/wisdom//s/"\\${/\x02&/; s#//#\x0f#
author HackBot
date Mon, 28 Aug 2017 00:27:49 +0000
parents dbe661460e11
children c2a7f8054522
comparison
equal deleted inserted replaced
11167:f21329d7c8ee 11168:c943ffcb5fef
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 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