Mercurial > repo
view bin/learn @ 4206:ab660bc578b5
<kmc> printf \'#!/bin/sh\\n\\nexec quote fungot\' > bin/qungot && chmod +x bin/qungot
author | HackBot |
---|---|
date | Thu, 19 Dec 2013 21:07:29 +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."