view bin/mislearn @ 9784:222ebb0185b5

<oerjan> learn @learn @messages-loud @messages-fond @messages-flood @messages-bond / @messages-lousy @messages-sound @messages-lost @messages-found / @messages-proud @messages-bold @messages-good @messages-gold
author HackBot
date Mon, 28 Nov 2016 18:00:46 +0000
parents c989a1669243
children 9c7bd01f6d39
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"