view bin/learn @ 3404:5fa45b01f371

<Jafet> chmod +x bin/gccrun
author HackBot
date Fri, 09 Aug 2013 14:29:49 +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."