view bin/mislearn @ 8705:c6d952889c35

<hppavilion[1]> learn sbeef is the culinary name for meat from scow
author HackBot
date Tue, 05 Jul 2016 03:27: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"