view bin/mislearn @ 9053:7e6fc6fdd94b

<oerjan> sled bin/emoclew//s,>,>\\\\[\\\\],;s,<,<\\\\]\\\\[,
author HackBot
date Sun, 18 Sep 2016 00:04:01 +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"