# HG changeset patch # User HackBot # Date 1476398423 0 # Node ID d32852713e15306b015f01f6fa43cc2774ca5056 # Parent 119c0d81812881c50ec367a66d18c02263330cd2 mkx bin/randbin//grep \'\' "$(ls -1 bin | shuf -n 1)" diff -r 119c0d818128 -r d32852713e15 bin/randbin --- a/bin/randbin Thu Oct 13 22:37:06 2016 +0000 +++ b/bin/randbin Thu Oct 13 22:40:23 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/}//"; cat "$f"; else echo "That's not wise."; fi | rnooodl +grep '' "$(ls -1 bin | shuf -n 1)"