Mercurial > repo
log bin/wisdom @ 5493:745dc4d8a920
age | author | description |
---|---|---|
Sat, 06 Jun 2015 16:26:51 +0000 | HackBot | <shachaf> ` sed -i \'s/shuf | head -n1/shuf -n1/\' bin/wisdom |
Sat, 06 Jun 2015 16:23:53 +0000 | HackBot | <shachaf> ` echo \'F="$(find wisdom -type f | shuf | head -n1)"; echo -n "${F#wisdom/}/"; cat "$F"\' > bin/wisdom |
Mon, 01 Jun 2015 23:54:10 +0000 | HackBot | <shachaf> ` echo \'N=$(find wisdom -type f | wc -l); F="$(find wisdom -type f | head -n $((RANDOM % N)) | tail -n1)"; echo -n "${F#wisdom/}/"; cat "$F"\' > bin/wisdom; chmod +x bin/wisdom |