view bin/mislearn @ 9000:d72aef993623

<oerjan> addquote <hppavilion[1]> I think we need to make Greece an independent country
author HackBot
date Thu, 01 Sep 2016 00:31:47 +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"