view bin/mislearn @ 7540:395d3ff3f755

<Melvar> ` chmod +x bin/jq
author HackBot
date Tue, 26 Apr 2016 15:06:40 +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"