Mercurial > repo
view bin/learn @ 7068:8999c7fb91ea
<oerjan> touch test2
author | HackBot |
---|---|
date | Wed, 02 Mar 2016 23:48:40 +0000 |
parents | d4aebeacae03 |
children | efa261b3fed0 |
line wrap: on
line source
#!/bin/bash topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\?[:;,.!?]\? .*//') echo "$1" >"wisdom/$topic" echo "Learned '$topic': $1"