view bin/mislearn @ 8432:9345cfdfdd22

<shachaf> sled bin/lastfiles//s/$/ "$@"/
author HackBot
date Fri, 10 Jun 2016 03:02:26 +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"