changeset 4798:b3b11a73cd92

<oerjan> revert
author HackBot
date Wed, 10 Sep 2014 11:46:41 +0000
parents e67a5178dfd3
children c929c11c7ea2
files bin/learn
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/learn	Wed Sep 10 11:45:30 2014 +0000
+++ b/bin/learn	Wed Sep 10 11:46:41 2014 +0000
@@ -1,1 +1,5 @@
-echo "This command has been disabled because no one uses it properly."
+#!/bin/bash
+topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//')
+echo "$1" >"wisdom/$topic"
+echo "I knew that."
+