view bin/mislearn @ 8032:685de179831f

<shachaf> ` mv wisdom/semmelwei{,s}
author HackBot
date Fri, 13 May 2016 06:49:55 +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"