Mercurial > repo
view bin/learn @ 4381:e979f67fe1fb
<boily> ` chmod 0755 bin/hd
author | HackBot |
---|---|
date | Thu, 30 Jan 2014 18:40:56 +0000 |
parents | e87d36fd991f |
children | 02be2e278897 |
line wrap: on
line source
#!/bin/bash topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//') info=$(echo "$1" | sed 's/[^ ]* //') echo "$1" >"wisdom/$topic" echo "I knew that."