view bin/learn @ 3356:596372aad413

<oerjan> interp \'bf_txtgen Bot prefixes: fungot ^, HackEgo `, EgoBot !, lambdabot @ or ?, thutubot +, metasepia ~, jconn ) , blsqbot !\' >prefs
author HackBot
date Fri, 02 Aug 2013 03:37:58 +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."