view bin/mislearn @ 8257:1b37449728a3

<shachaf> ` mv wisdom/usual\\ suspect{s,}
author HackBot
date Wed, 01 Jun 2016 06:25:53 +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"