comparison bin/learn_append2 @ 4884:c37b8874cc48

<mroman_> sed -e \'s/^M//g\' bin/learn_append > bin/learn_append2
author HackBot
date Fri, 26 Sep 2014 13:29:14 +0000
parents 2af66ab956eb
children
comparison
equal deleted inserted replaced
4883:2af66ab956eb 4884:c37b8874cc48
1 #!/bin/bash
2 topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//')
3 echo "$1" >>"wisdom/$topic"
4 echo "I knew that."