view bin/learn_append2 @ 8386:a0a712e0cd06

<fizzie> mkx bin/gs2//gs2c "$@" > /tmp/tmp.gs2 && gs2x /tmp/tmp.gs2
author HackBot
date Mon, 06 Jun 2016 05:59:41 +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."