view bin/learn @ 4530:03afb1619ef2

<elliott> revert 1
author HackBot
date Sun, 16 Mar 2014 01:51:13 +0000
parents 02be2e278897
children 7f957c1f4661
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."