Mercurial > repo
view bin/learn @ 3807:c9baee562cf2
<Taneb> learn list is a fun program that HackEgo has! Run it with `list and join the fun!
author | HackBot |
---|---|
date | Thu, 19 Sep 2013 19:36:48 +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."