changeset 4160:4afd86142744

<oerjan> revert 4155
author HackBot
date Tue, 10 Dec 2013 17:34:40 +0000
parents 7dde8217bf6e
children 3e9814054845
files bin/learn wisdom/lions are the catamorphisms of the animal world.
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/learn	Tue Dec 10 17:33:18 2013 +0000
+++ b/bin/learn	Tue Dec 10 17:34:40 2013 +0000
@@ -1,5 +1,5 @@
 #!/bin/bash
-topic=$(echo "$1" | sed 's/[Ss]? .*//' | lowercase)
+topic=$(echo "$1" | sed 's/ .*//' | lowercase)
 info=$(echo "$1" | sed 's/[^ ]* //')
 echo "$1" >"wisdom/$topic"
 echo "I knew that."
--- a/wisdom/lions are the catamorphisms of the animal world.	Tue Dec 10 17:33:18 2013 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-Lions are the catamorphisms of the animal world.