view bin/learn_append2 @ 8615:78e1f9d0d3fb

<shachaf> slwd oerjan//s#over#under#
author HackBot
date Sun, 26 Jun 2016 04:42:23 +0000
parents 56dcce63901b
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."