view bin/mislearn @ 12409:804e1d3013a7 draft

<b_jonas> learn prefixes Bot prefixes: fungot ^, HackEso `, EgoBot !, lambdabot @ or ? or >, thutubot +, metasepia ~, idris-bot ( , jconn ) , j-bot [ , bfbot =, velik \\.
author HackEso <hackeso@esolangs.org>
date Sun, 04 Jul 2021 11:33:30 +0100
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"