# HG changeset patch # User HackBot # Date 1476399940 0 # Node ID 7b356ce29feb715ffdf04ea59551af943d39ee6a # Parent 4d88066c879e1a218bc63e053d697eace77b5a63 sled bin/randbin//s/wise/binary/ diff -r 4d88066c879e -r 7b356ce29feb bin/randbin --- a/bin/randbin Thu Oct 13 22:56:42 2016 +0000 +++ b/bin/randbin Thu Oct 13 23:05:40 2016 +0000 @@ -1,1 +1,1 @@ -f=$(find bin -ipath "bin/*$1*" -type f -print0 | shuf -z -n1); if [ -n "$f" ]; then echo -n "${f#bin/}//"; grep '' "$f"; else echo "That's not wise."; fi | rnooodl +f=$(find bin -ipath "bin/*$1*" -type f -print0 | shuf -z -n1); if [ -n "$f" ]; then echo -n "${f#bin/}//"; grep '' "$f"; else echo "That's not binary."; fi | rnooodl