view bin/mislearn @ 7512:6937e06cce3b

<oerjan> forget n\xc5\x93ud
author HackBot
date Wed, 20 Apr 2016 17:56:01 +0000
parents 061734ba3033
children
line wrap: on
line source

#!/bin/bash
topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\?[:;,.!?]\? .*//')
echo "$1" >"tmflry/$topic"
echo "Was lied to about '$topic': $1"