view bin/learn_append2 @ 9953:67e1a11cc04e

<oerjan> addscowrevs 8669:8678
author HackBot
date Mon, 12 Dec 2016 03:20:01 +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."