view bin/learn @ 4106:2c6f67282daa

<oerjan> ln -s wisdom/{,"stephen "}wolfram
author HackBot
date Sat, 30 Nov 2013 23:29:24 +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."