annotate bin/learn @ 3302:f6382d5da935

<boily> pastequotes
author HackBot
date Tue, 16 Jul 2013 19:55:04 +0000
parents 231ca1c36641
children 045228d20aca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 #!/bin/sh
2717
231ca1c36641 <shachaf> sed -i \'s/tr A-Z a-z/lowercase/\' bin/learn
HackBot
parents: 0
diff changeset
2 topic=$(echo "$1" | sed 's/ .*//' | lowercase)
0
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