Mercurial > repo
view bin/learn @ 4252:f7f702fd6fb8
<oerjan> sed -i \'s/p/P/\' wisdom/ph\xe1\xbb\x9f
author | HackBot |
---|---|
date | Mon, 30 Dec 2013 21:59:03 +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."