view bin/mislearn @ 9019:cfc3efbdb327

<oerjan> slwd culprit//s/the lists //
author HackBot
date Thu, 08 Sep 2016 01:15:32 +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"