view bin/mislearn @ 6778:061734ba3033

<hppavilion[1]> ` sed -i "s/Learned/Was lied to about/" bin/mislearn
author HackBot
date Wed, 10 Feb 2016 06:02:55 +0000
parents d4e5edb3022f
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"