view bin/learn @ 3563:77af90111409

<oerjan> revert 205a23bbf2a5
author HackBot
date Thu, 29 Aug 2013 22:33:54 +0000
parents 045228d20aca
children 6fe5249fdc76
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."