Mercurial > repo
view bin/learn @ 4294:1f6f62cf90e3
<shachaf> echo >bin/rnooodl \'perl -pe \'\\\'\'s/[Nn]ooodl/"\\1@{[o x(3+rand 7)]}dl"/ge\'\\\'
author | HackBot |
---|---|
date | Tue, 14 Jan 2014 01:17:23 +0000 |
parents | e87d36fd991f |
children | 02be2e278897 |
line wrap: on
line source
#!/bin/bash topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//') info=$(echo "$1" | sed 's/[^ ]* //') echo "$1" >"wisdom/$topic" echo "I knew that."