comparison bin/randbin @ 9265:d32852713e15

<shachaf> mkx bin/randbin//grep \'\' "$(ls -1 bin | shuf -n 1)"
author HackBot
date Thu, 13 Oct 2016 22:40:23 +0000
parents 119c0d818128
children 7ae374d8d999
comparison
equal deleted inserted replaced
9264:119c0d818128 9265:d32852713e15
1 f=$(find bin -ipath "bin/*$1*" -type f -print0 | shuf -z -n1); if [ -n "$f" ]; then echo -n "${f#bin/}//"; cat "$f"; else echo "That's not wise."; fi | rnooodl 1 grep '' "$(ls -1 bin | shuf -n 1)"