view bin/learn @ 2849:8dc0084b8062

<Jafet> gcc hello.c -o hello -nostdlib && ./hello
author HackBot
date Sun, 05 May 2013 15:42:40 +0000
parents 231ca1c36641
children 045228d20aca
line wrap: on
line source

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