view bin/learn_append2 @ 10794:c2b7c7a04c70

<oerjan> sled bin/erro//s,.$,;s/$/\x0f/\',
author HackBot
date Sat, 22 Apr 2017 01:03:08 +0000
parents 56dcce63901b
children
line wrap: on
line source

#!/bin/bash
topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\? .*//')
echo "$1" >>"wisdom/$topic"
echo "I knew that."