Mercurial > repo
view bin/learn @ 4156:74a3ab67cd2c
<oerjan> sed -i \'2s!/ !/s\\? !\' bin/learn
author | HackBot |
---|---|
date | Tue, 10 Dec 2013 17:31:42 +0000 |
parents | 761f0d451a32 |
children | c3fa67f8b8a1 |
line wrap: on
line source
#!/bin/bash topic=$(echo "$1" | sed 's/s? .*//' | lowercase) info=$(echo "$1" | sed 's/[^ ]* //') echo "$1" >"wisdom/$topic" echo "I knew that."