Mercurial > repo
changeset 3568:761f0d451a32
<oerjan> sed -i \'s/ -E//\' bin/learn
author | HackBot |
---|---|
date | Thu, 29 Aug 2013 22:40:10 +0000 |
parents | 7eb3837b513e |
children | e3e4a072eb67 |
files | bin/learn |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/learn Thu Aug 29 22:39:08 2013 +0000 +++ b/bin/learn Thu Aug 29 22:40:10 2013 +0000 @@ -1,6 +1,6 @@ #!/bin/bash -topic=$(echo -E "$1" | sed 's/ .*//' | lowercase) -info=$(echo -E "$1" | sed 's/[^ ]* //') -echo -E "$1" >"wisdom/$topic" -echo -E "I knew that." +topic=$(echo "$1" | sed 's/ .*//' | lowercase) +info=$(echo "$1" | sed 's/[^ ]* //') +echo "$1" >"wisdom/$topic" +echo "I knew that."