changeset 4886:543f615e8a42

<mroman_> mv -f raw.txt bin/learn_append
author HackBot
date Fri, 26 Sep 2014 13:30:19 +0000
parents 4c79a954dfb3
children c0d48b519203
files bin/learn_append raw.txt
diffstat 2 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/bin/learn_append	Fri Sep 26 13:30:06 2014 +0000
+++ b/bin/learn_append	Fri Sep 26 13:30:19 2014 +0000
@@ -1,4 +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
+#!/bin/bash
+topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//')
+echo "$1" >>"wisdom/$topic"
+echo "I knew that."
--- a/raw.txt	Fri Sep 26 13:30:06 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."