comparison bin/randbin @ 9272:c70ed230703c

<oerjan> sled bin/randbin//s/cat/grep \'\'/
author HackBot
date Thu, 13 Oct 2016 22:54:23 +0000
parents a90ddb12b67c
children 7b356ce29feb
comparison
equal deleted inserted replaced
9271:a90ddb12b67c 9272:c70ed230703c
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 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 wise."; fi | rnooodl