Mercurial > repo
view bin/randbin @ 9274:7b356ce29feb
<oerjan> sled bin/randbin//s/wise/binary/
author | HackBot |
---|---|
date | Thu, 13 Oct 2016 23:05:40 +0000 |
parents | c70ed230703c |
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