view bin/learn @ 4668:5ec5a4134387

<int-e> ` ln -s rot0 bin/rot26
author HackBot
date Wed, 11 Jun 2014 18:49:20 +0000
parents 7f957c1f4661
children e67a5178dfd3
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."