Mercurial > repo
view bin/wisdom @ 11301:6fae3200f233
<int-e> ` mv {bin,lib}/morse-decode; echo \'#!/hackenv/bin/shebang_args_or_input /hackenv/lib/morse-decode\' > bin/morse-decode; chmod +x bin/morse-decode
author | HackBot |
---|---|
date | Thu, 04 Jan 2018 23:48:26 +0000 |
parents | fe69920e3442 |
children | 602a161bac23 |
line wrap: on
line source
f=$(find wisdom -ipath "wisdom/*$1*" -type f -print0 | shuf --random-source=/dev/urandom -z -n1); if [ -n "$f" ]; then echo -n "${f#wisdom/}//"; cat "$f"; else echo "That's not wise."; fi | rnooodl