view bin/learn @ 4078:24054e3f5861

<oerjan> learn Impomatic never did anything weird enough to get into this database.
author HackBot
date Tue, 26 Nov 2013 13:59:42 +0000
parents 761f0d451a32
children 74a3ab67cd2c
line wrap: on
line source

#!/bin/bash
topic=$(echo "$1" | sed 's/ .*//' | lowercase)
info=$(echo "$1" | sed 's/[^ ]* //')
echo "$1" >"wisdom/$topic"
echo "I knew that."