view 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
line wrap: on
line source

#!/bin/bash
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