view bin/mislearn @ 7609:e507c8c14fbd

<Moon_> fetch http://pastebin.com/raw/ReUariBw
author HackBot
date Fri, 29 Apr 2016 00:31:50 +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"