view bin/mislearn @ 8243:0421a66f740c

<shachaf> le/rn usual suspects/There are 3.99 usual suspects, but they\'re usually rounded up.
author HackBot
date Tue, 31 May 2016 19:42:25 +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"