Mercurial > repo
view bin/randbin @ 9771:3e54f8d1843f
<oerjan> sled bin/quote//s,shuf,shuf --random-source=/dev/urandom,
author | HackBot |
---|---|
date | Thu, 24 Nov 2016 01:23:39 +0000 |
parents | 7b356ce29feb |
children | 3069d30fae85 |
line wrap: on
line source
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