annotate bin/learn @ 733:2567e721a4b8

<oerjan> addquote <oklopol> t <oklopol> y <oklopol> also i didn't say t\ny on purpose, i just accidentally hit the keyboard with my head
author HackBot
date Thu, 04 Oct 2012 20:49:00 +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