view bin/learn @ 3142:78ce1b0d5593

<shachaf> echo \'sh -c "$1"\' > bin/rum; chmod +x bin/run
author HackBot
date Sun, 16 Jun 2013 21:44:22 +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."