view bin/learn_append2 @ 5021:f7331c9f689f

<oerjan> chmod +x gcccomp; mv gcccomp interps/gcccomp
author HackBot
date Mon, 06 Oct 2014 05:38:55 +0000
parents c37b8874cc48
children
line wrap: on
line source

#!/bin/bash
topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//')
echo "$1" >>"wisdom/$topic"
echo "I knew that."