view bin/learn @ 3018:fbba3aa90a16

<oerjan> mv test.hs{.1,}
author HackBot
date Sat, 01 Jun 2013 19:31:05 +0000
parents 231ca1c36641
children 045228d20aca
line wrap: on
line source

#!/bin/sh
topic=$(echo "$1" | sed 's/ .*//' | lowercase)
info=$(echo "$1" | sed 's/[^ ]* //')
echo "$1" >"wisdom/$topic"
echo "I knew that."