changeset 5040:66fb0dc90cb9

<oerjan> sed -i \'4c\\echo "Learned \'"\'"\'$topic\'"\'"\': $1"\' bin/learn
author HackBot
date Fri, 10 Oct 2014 11:28:33 +0000
parents 74cae6b8f28c
children 835650d170de
files bin/learn
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/learn	Fri Oct 10 11:09:14 2014 +0000
+++ b/bin/learn	Fri Oct 10 11:28:33 2014 +0000
@@ -1,5 +1,5 @@
 #!/bin/bash
 topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//')
 echo "$1" >"wisdom/$topic"
-echo "I knew that."
+echo "Learned '$topic': $1"