view bin/learn @ 3064:3875b2cc1001

<boily> echo "a-\xc3\xa9-ro-g-liss-e-ur. If you mention eels, you\'ll get smacked with one of them in a most unappropriate manner." >wisdom/hovercraft
author HackBot
date Wed, 05 Jun 2013 19:32:55 +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."