view bin/mislearn @ 12428:8d99a86a2a7d draft

<b_jonas> slashlearn password//The password of the month is Ebay DVD demagnetizer
author HackEso <hackeso@esolangs.org>
date Mon, 01 Nov 2021 20:08:38 +0000
parents 9c7bd01f6d39
children
line wrap: on
line source

#!/bin/bash
topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\?[:;,.!?]\? .*//')
echo "$1" >"$HACKENV/tmflry/$topic"
echo "Was lied to about '$topic': $1"