view test/learn @ 121:8a04b0258775

<elliott> run mv bin test; touch bin
author HackBot
date Thu, 22 Mar 2012 19:17:38 +0000
parents
children
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."