view bin/mislearn @ 7572:a551629919da

<fizzie> fetch http://pastebin.com/raw/J7vAQirV
author HackBot
date Wed, 27 Apr 2016 23:34:09 +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"