changeset 4882:0b26144ff646

<mroman_> mv -f raw.txt bin/learn_append
author HackBot
date Fri, 26 Sep 2014 13:27:48 +0000
parents cf883df70dd3
children 2af66ab956eb
files bin/learn_append raw.txt
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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