Mercurial > repo
changeset 9274:7b356ce29feb
<oerjan> sled bin/randbin//s/wise/binary/
author | HackBot |
---|---|
date | Thu, 13 Oct 2016 23:05:40 +0000 |
parents | 4d88066c879e |
children | 5d551f13ec2c |
files | bin/randbin |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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