view bin/mislearn @ 8051:47e94fe712f6

<xfix> mkx bin/if//bash -c "if $@"
author HackBot
date Sat, 14 May 2016 15:51:54 +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"