view bin/learn @ 4094:bbe9ae610bbc

<shachaf> echo \'echo resume\' > bin/r\xc3\xa8sum\xc3\xa8; chmod +x bin/r\xc3\xa8sum\xc3\xa8
author HackBot
date Thu, 28 Nov 2013 21:14:46 +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."