view bin/learn @ 3268:e2e8f5a0e894

<ssstosis> chmod 777 bin/zalgreet
author HackBot
date Wed, 03 Jul 2013 02:44:48 +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."