view bin/learn_append2 @ 5952:c24cc3e3bc15

<oerjan_nope> rm wisdom/o
author HackBot
date Mon, 31 Aug 2015 23:07:20 +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."