view bin/mislearn @ 8348:74bf237657ef

<Taneb> echo "\xc2\xaf\\(o\xe2\x80\x8b_\xc2\xb0)/\xc2\xaf ?sdrawkcab" > wisdom/backward
author HackBot
date Sun, 05 Jun 2016 20:46:23 +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"