changeset 4157:c3fa67f8b8a1

<oerjan> revert
author HackBot
date Tue, 10 Dec 2013 17:32:43 +0000
parents 74a3ab67cd2c
children cab85627f05c
files bin/learn
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/learn	Tue Dec 10 17:31:42 2013 +0000
+++ b/bin/learn	Tue Dec 10 17:32:43 2013 +0000
@@ -1,5 +1,5 @@
 #!/bin/bash
-topic=$(echo "$1" | sed 's/s? .*//' | lowercase)
+topic=$(echo "$1" | sed 's/ .*//' | lowercase)
 info=$(echo "$1" | sed 's/[^ ]* //')
 echo "$1" >"wisdom/$topic"
 echo "I knew that."