view bin/learn @ 2002:2f72723c28c7

<shachaf> delquote 583
author HackBot
date Mon, 04 Feb 2013 17:58:43 +0000
parents e037173e0012
children 231ca1c36641
line wrap: on
line source

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