view bin/learn @ 0:e037173e0012

Initial import.
author HackBot
date Thu, 16 Feb 2012 19:42:32 +0000
parents
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."