annotate bin/randbin @ 9286:d014a073aba7

<hppavilion[1]> slwd scow//s#$# Scheme is usually preferred, but Racket will be accepted in a pinch.#
author HackBot
date Sat, 15 Oct 2016 06:09:37 +0000
parents 7b356ce29feb
children 3069d30fae85
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9274
7b356ce29feb <oerjan> sled bin/randbin//s/wise/binary/
HackBot
parents: 9272
diff changeset
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 binary."; fi | rnooodl