view bin/learn @ 3562:34c54488483b

<oerjan> learn ttest \\ttest
author HackBot
date Thu, 29 Aug 2013 22:31:20 +0000
parents 045228d20aca
children 77af90111409
line wrap: on
line source

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