Mercurial > repo
view bin/learn_append @ 4951:f843a1572d32
<oerjan> revert
author | HackBot |
---|---|
date | Tue, 30 Sep 2014 05:50:52 +0000 |
parents | 32f43246a58f |
children | c59c43efc84d |
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."