view bin/learn @ 3770:4842975ce49f

<Roujo> echo cat cat > bin/chroot
author HackBot
date Mon, 16 Sep 2013 18:21:38 +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."