view bin/learn @ 2717:231ca1c36641

<shachaf> sed -i \'s/tr A-Z a-z/lowercase/\' bin/learn
author HackBot
date Sun, 14 Apr 2013 21:48:22 +0000
parents e037173e0012
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."