Mercurial > repo
view bin/learn @ 6520:7f4033c9786b
<ais523> ` ar x wamerican*.deb data.tar.gz
author | HackBot |
---|---|
date | Tue, 05 Jan 2016 23:46:22 +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"