view bin/mislearn @ 8518:0dfc503499fb

<oerjan> ` hg cat -r 5060d5af0b98 bin/rnooodl >bin/rnooodl
author HackBot
date Fri, 17 Jun 2016 09:48:17 +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"