changeset 4874:fc834b7464f9

<mroman_> mv raw.txt bin/learn_append
author HackBot
date Fri, 26 Sep 2014 13:24:14 +0000
parents 82435183814a
children 3e891a84ef8b
files bin/learn_append raw.txt
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/learn_append	Fri Sep 26 13:24:14 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
--- a/raw.txt	Fri Sep 26 13:23:47 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