changeset 3561:045228d20aca

<oerjan> sed -i \'s/echo/echo -E/g\' bin/learn
author HackBot
date Thu, 29 Aug 2013 22:31:11 +0000
parents a49612b1b00c
children 34c54488483b
files bin/learn
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/bin/learn	Thu Aug 29 22:24:25 2013 +0000
+++ b/bin/learn	Thu Aug 29 22:31:11 2013 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
-topic=$(echo "$1" | sed 's/ .*//' | lowercase)
-info=$(echo "$1" | sed 's/[^ ]* //')
-echo "$1" >"wisdom/$topic"
-echo "I knew that."
+topic=$(echo -E "$1" | sed 's/ .*//' | lowercase)
+info=$(echo -E "$1" | sed 's/[^ ]* //')
+echo -E "$1" >"wisdom/$topic"
+echo -E "I knew that."