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