view bin/mislearn @ 12278:805908a65518 draft

<kspalaiologos> fetch /hackenv/bin/asmbf https://hack.esolangs.org/get/bin/asmbf
author HackEso <hackeso@esolangs.org>
date Tue, 31 Dec 2019 18:31:10 +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"