view bin/learn @ 4587:6df398684375

<oerjan> chmod +x url; mv url bin
author HackBot
date Sat, 19 Apr 2014 23:50:37 +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."