view bin/learn @ 3561:045228d20aca

<oerjan> sed -i \'s/echo/echo -E/g\' bin/learn
author HackBot
date Thu, 29 Aug 2013 22:31:11 +0000
parents 231ca1c36641
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."