# HG changeset patch # User HackBot # Date 1411738068 0 # Node ID 0b26144ff6464acebf7133b1dc22c2e06c194625 # Parent cf883df70dd30c509bf4dd78b9427c7561a54dc3 mv -f raw.txt bin/learn_append diff -r cf883df70dd3 -r 0b26144ff646 bin/learn_append --- a/bin/learn_append Fri Sep 26 13:27:45 2014 +0000 +++ b/bin/learn_append Fri Sep 26 13:27:48 2014 +0000 @@ -0,0 +1,4 @@ +#!/bin/bash +topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//') +echo "$1" >>"wisdom/$topic" +echo "I knew that." \ No newline at end of file diff -r cf883df70dd3 -r 0b26144ff646 raw.txt --- a/raw.txt Fri Sep 26 13:27:45 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -#!/bin/bash -topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//') -echo "$1" >>"wisdom/$topic" -echo "I knew that." \ No newline at end of file