view bin/learn @ 4165:788f5ea6ef9b

<Phantom_Hoover> delquote 1144
author HackBot
date Tue, 10 Dec 2013 21:42:52 +0000
parents 3e9814054845
children 2a6b8dff73c0
line wrap: on
line source

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