Mercurial > repo
comparison bin/randbin @ 11474:3069d30fae85 draft
<oerjan> sled bin/randbin//1i#!/bin/bash
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Mon, 09 Apr 2018 00:57:41 +0100 |
parents | 7b356ce29feb |
children | dccd9d1e0a00 |
comparison
equal
deleted
inserted
replaced
11473:8b74d2c16877 | 11474:3069d30fae85 |
---|---|
1 #!/bin/bash | |
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 | 2 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 |