Mercurial > repo
view bin/learn @ 4387:02be2e278897
<oerjan> sed -i 3d bin/learn
author | HackBot |
---|---|
date | Thu, 30 Jan 2014 22:33:13 +0000 |
parents | e87d36fd991f |
children | 03afb1619ef2 |
line wrap: on
line source
#!/bin/bash topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//') echo "$1" >"wisdom/$topic" echo "I knew that."