annotate bin/learn @ 4530:03afb1619ef2

<elliott> revert 1
author HackBot
date Sun, 16 Mar 2014 01:51:13 +0000
parents 02be2e278897
children 7f957c1f4661
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4530
03afb1619ef2 <elliott> revert 1
HackBot
parents: 4387
diff changeset
1 #!/bin/sh
03afb1619ef2 <elliott> revert 1
HackBot
parents: 4387
diff changeset
2 topic=$(echo "$1" | sed 's/ .*//' | tr A-Z a-z)
03afb1619ef2 <elliott> revert 1
HackBot
parents: 4387
diff changeset
3 info=$(echo "$1" | sed 's/[^ ]* //')
3568
761f0d451a32 <oerjan> sed -i \'s/ -E//\' bin/learn
HackBot
parents: 3565
diff changeset
4 echo "$1" >"wisdom/$topic"
761f0d451a32 <oerjan> sed -i \'s/ -E//\' bin/learn
HackBot
parents: 3565
diff changeset
5 echo "I knew that."
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
6