Mercurial > repo
view bin/learn @ 4305:d4a04f61df82
<oerjan> sed -i \'2crelcome "$@" | r13\' bin/r13elcome
author | HackBot |
---|---|
date | Tue, 14 Jan 2014 22:51:29 +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."