Mercurial > repo
view bin/learn_append @ 4966:868dd7ee44b5
<oerjan> revert
author | HackBot |
---|---|
date | Tue, 30 Sep 2014 06:10:23 +0000 |
parents | 73e248293897 |
children | c4aabc33e0d5 |
line wrap: on
line source
#!/bin/bash topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//') stuff=$(echo "$1" | cut -d' ' -f2-) echo "$stuff" >>"wisdom/$topic" echo "I knew that."