Mercurial > repo
changeset 4957:b59cee31b658
<oerjan> revert 4949
author | HackBot |
---|---|
date | Tue, 30 Sep 2014 06:00:23 +0000 |
parents | 34236d791845 |
children | 52a7f7c9dc4f |
files | bin/learn_append |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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."