changeset 4174:4931255234a2

<oerjan> revert
author HackBot
date Wed, 11 Dec 2013 01:21:31 +0000
parents 88d05b052b66
children 3f52a230f962
files bin/learn
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/learn	Wed Dec 11 01:20:37 2013 +0000
+++ b/bin/learn	Wed Dec 11 01:21:31 2013 +0000
@@ -1,5 +1,5 @@
 #!/bin/bash
-topic=$(echo "$1" | lowercase | sed 's/^`\(a|the\) //;s/[Ss]? .*//')
+topic=$(echo "$1" | lowercase | sed 's/^(a|the) //;s/[Ss]? .*//')
 info=$(echo "$1" | sed 's/[^ ]* //')
 echo "$1" >"wisdom/$topic"
 echo "I knew that."