annotate bin/learn @ 1927:e5e4524372d5

<elliott> mv wisdom/a.is523 wisdom/ais523; mv wisdom/c.oppro wisdom/coppro
author HackBot
date Thu, 31 Jan 2013 21:07:43 +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