Mercurial > repo
comparison bin/learn @ 3568:761f0d451a32
<oerjan> sed -i \'s/ -E//\' bin/learn
author | HackBot |
---|---|
date | Thu, 29 Aug 2013 22:40:10 +0000 |
parents | 28248d71128f |
children | 74a3ab67cd2c |
comparison
equal
deleted
inserted
replaced
3567:7eb3837b513e | 3568:761f0d451a32 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 topic=$(echo -E "$1" | sed 's/ .*//' | lowercase) | 2 topic=$(echo "$1" | sed 's/ .*//' | lowercase) |
3 info=$(echo -E "$1" | sed 's/[^ ]* //') | 3 info=$(echo "$1" | sed 's/[^ ]* //') |
4 echo -E "$1" >"wisdom/$topic" | 4 echo "$1" >"wisdom/$topic" |
5 echo -E "I knew that." | 5 echo "I knew that." |
6 | 6 |