view bin/learn @ 3602:e1755b0a4a00

<Roujo> rm bin/cat hth
author HackBot
date Tue, 03 Sep 2013 16:12:48 +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."