comparison bin/randbin @ 9271:a90ddb12b67c

<oerjan> ` cp bin/{wisdom,randbin}; sled \'bin/randbin//s#wisdom#bin#g\'
author HackBot
date Thu, 13 Oct 2016 22:53:20 +0000
parents befe19c198c3
children c70ed230703c
comparison
equal deleted inserted replaced
9270:c2dc97e6b1d3 9271:a90ddb12b67c
1 grep -Hz '' bin/"$(ls -1 bin | shuf -n 1)" 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