Mercurial > repo
view bin/randbin @ 10926:a684a663a67f
<oerjan> sled bin/2//s,\'\' ,,
author | HackBot |
---|---|
date | Sat, 20 May 2017 05:48:18 +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