view bin/learn_append2 @ 9976:dbe661460e11

<oerjan> undo 9971
author HackBot
date Thu, 15 Dec 2016 01:26:46 +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."