annotate bin/learn @ 858:c9b457fcb44d

<elliott> run ls bin | paste
author HackBot
date Tue, 20 Nov 2012 02:06:16 +0000
parents e037173e0012
children 231ca1c36641
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 #!/bin/sh
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2 topic=$(echo "$1" | sed 's/ .*//' | tr A-Z a-z)
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 info=$(echo "$1" | sed 's/[^ ]* //')
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4 echo "$1" >"wisdom/$topic"
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5 echo "I knew that."
e037173e0012 Initial import.
HackBot
parents:
diff changeset
6