view bin/mislearn @ 7160:0837befd290c

<int-e> learn It\'s written with an apostrophe.
author HackBot
date Mon, 07 Mar 2016 15:39:58 +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"