Mercurial > repo
view bin/learn @ 3705:5d6ec07e99da
<oerjan> echo test >>test; cat test
author | HackBot |
---|---|
date | Wed, 11 Sep 2013 04:51:25 +0000 |
parents | 761f0d451a32 |
children | 74a3ab67cd2c |
line wrap: on
line source
#!/bin/bash topic=$(echo "$1" | sed 's/ .*//' | lowercase) info=$(echo "$1" | sed 's/[^ ]* //') echo "$1" >"wisdom/$topic" echo "I knew that."