view bin/mislearn @ 7720:a6de3d468582

<hppavilion[1]> mk share/maimery//$target has been badly maimed!
author HackBot
date Wed, 04 May 2016 00:41:37 +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"