view bin/mislearn @ 12499:3810b2f1f7f0 draft default tip

<FireFly> ` grep -v FireFly /hackenv/bin/olist >/tmp/foo && cat /tmp/foo >/hackenv/bin/olist
author HackEso <hackeso@esolangs.org>
date Wed, 10 Apr 2024 14:45:21 +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"