# HG changeset patch # User HackBot # Date 1412056823 0 # Node ID b59cee31b658df945634d57dc9cbba99696bf19c # Parent 34236d79184551a24b987a940412d9c157c412b7 revert 4949 diff -r 34236d791845 -r b59cee31b658 bin/learn_append --- a/bin/learn_append Tue Sep 30 05:52:59 2014 +0000 +++ b/bin/learn_append Tue Sep 30 06:00:23 2014 +0000 @@ -1,6 +1,5 @@ #!/bin/bash topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//') stuff=$(echo "$1" | cut -d' ' -f2-) -sed -i 'y/\n/ /' "wisdom/$topic" echo "$stuff" >>"wisdom/$topic" echo "I knew that."