view bin/learn_append2 @ 9723:0e87129080d9

<oerjan> ` mv wisdom/{selamlar,welcome.tr}
author HackBot
date Fri, 18 Nov 2016 16:11:48 +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."