Mercurial > repo
view bin/learn_append @ 4941:dd3a2d8816d2
<oerjan> revert 4933
author | HackBot |
---|---|
date | Tue, 30 Sep 2014 00:16:13 +0000 |
parents | 91ef7dc9bbf4 |
children | 32f43246a58f |
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."