Mercurial > repo
annotate bin/wisdom @ 11295:0b054ddeff49
<wob_jonas> perl -eopen$i,"<",($f="wisdom/aristotle");$_=<$i>; s/(fifth) kind of vitreous/$1/ or die; if (1) { open$o,">",$f; print$o $_ or die; } print substr$_,200;
author | HackBot |
---|---|
date | Mon, 01 Jan 2018 18:01:49 +0000 |
parents | fe69920e3442 |
children | 602a161bac23 |
rev | line source |
---|---|
11172
fe69920e3442
<shachaf> sled bin/wisdom//s/"\\${/\x02&/; s#//#\x0f&#
HackBot
parents:
11171
diff
changeset
|
1 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 |