Mercurial > repo
view bin/learn @ 4161:3e9814054845
<oerjan> sed -i \'2s!/ !/[Ss]\\\\? !\' bin/learn
author | HackBot |
---|---|
date | Tue, 10 Dec 2013 17:35:13 +0000 |
parents | 4afd86142744 |
children | 2a6b8dff73c0 |
line wrap: on
line source
#!/bin/bash topic=$(echo "$1" | sed 's/[Ss]\? .*//' | lowercase) info=$(echo "$1" | sed 's/[^ ]* //') echo "$1" >"wisdom/$topic" echo "I knew that."