annotate bin/learn @ 5021:f7331c9f689f

<oerjan> chmod +x gcccomp; mv gcccomp interps/gcccomp
author HackBot
date Mon, 06 Oct 2014 05:38:55 +0000
parents b3b11a73cd92
children 66fb0dc90cb9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4798
b3b11a73cd92 <oerjan> revert
HackBot
parents: 4797
diff changeset
1 #!/bin/bash
b3b11a73cd92 <oerjan> revert
HackBot
parents: 4797
diff changeset
2 topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//')
b3b11a73cd92 <oerjan> revert
HackBot
parents: 4797
diff changeset
3 echo "$1" >"wisdom/$topic"
b3b11a73cd92 <oerjan> revert
HackBot
parents: 4797
diff changeset
4 echo "I knew that."
b3b11a73cd92 <oerjan> revert
HackBot
parents: 4797
diff changeset
5