view bin/mislearn @ 8386:a0a712e0cd06

<fizzie> mkx bin/gs2//gs2c "$@" > /tmp/tmp.gs2 && gs2x /tmp/tmp.gs2
author HackBot
date Mon, 06 Jun 2016 05:59:41 +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"