Mercurial > repo
view bin/learn @ 6143:3ba33322fa81
<oerjan> revert
author | HackBot |
---|---|
date | Mon, 26 Oct 2015 04:58:04 +0000 |
parents | 23da73664984 |
children | c20d4be5afa6 |
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"