# HG changeset patch # User HackBot # Date 1412056252 0 # Node ID f843a1572d32b713857be1410c115f47b28b9efc # Parent 32f43246a58f759f9986787d3e2bf5f887ac84b9 revert diff -r 32f43246a58f -r f843a1572d32 bin/learn_append --- a/bin/learn_append Tue Sep 30 05:50:35 2014 +0000 +++ b/bin/learn_append Tue Sep 30 05:50:52 2014 +0000 @@ -1,7 +1,5 @@ #!/bin/bash topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//') stuff=$(echo "$1" | cut -d' ' -f2-) -sed -i 'y/ -/ /wisdom/$topic echo "$stuff" >>"wisdom/$topic" echo "I knew that."