# HG changeset patch # User HackBot # Date 1412941447 0 # Node ID 4c440ec17bf2ebcbeb25ee37fabf6eab1740cbb4 # Parent b2d3e73889a97b1ecab49c9ecc9a63cfa671e734 sed -i \'6s/[*]/"\\n/\' bin/learn_append diff -r b2d3e73889a9 -r 4c440ec17bf2 bin/learn_append --- a/bin/learn_append Fri Oct 10 11:43:31 2014 +0000 +++ b/bin/learn_append Fri Oct 10 11:44:07 2014 +0000 @@ -3,4 +3,5 @@ stuff=$(echo "$1" | cut -d' ' -f2-) perl -i -p -e 's/\n/ /' "wisdom/$topic" echo "$stuff" >>"wisdom/$topic" -echo -n "Learned '$topic': *cat "wisdom/$topic" +echo -n "Learned '$topic': " +cat "wisdom/$topic"