view bin/mislearn @ 7292:5c7370a1dffe

<oerjan> learn CIA sees it all.
author HackBot
date Mon, 28 Mar 2016 23:13:39 +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"