Mercurial > repo
view bin/learn @ 5043:1fb4c1cc0fb9
<oerjan> revert
author | HackBot |
---|---|
date | Fri, 10 Oct 2014 11:32:38 +0000 |
parents | |
children | 23da73664984 |
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"