comparison bin/learn @ 3561:045228d20aca

<oerjan> sed -i \'s/echo/echo -E/g\' bin/learn
author HackBot
date Thu, 29 Aug 2013 22:31:11 +0000
parents 231ca1c36641
children 77af90111409
comparison
equal deleted inserted replaced
3560:a49612b1b00c 3561:045228d20aca
1 #!/bin/sh 1 #!/bin/sh
2 topic=$(echo "$1" | sed 's/ .*//' | lowercase) 2 topic=$(echo -E "$1" | sed 's/ .*//' | lowercase)
3 info=$(echo "$1" | sed 's/[^ ]* //') 3 info=$(echo -E "$1" | sed 's/[^ ]* //')
4 echo "$1" >"wisdom/$topic" 4 echo -E "$1" >"wisdom/$topic"
5 echo "I knew that." 5 echo -E "I knew that."
6 6