Mercurial > repo
view bin/learn @ 3260:ef6e7d1b9831
<oerjan> sed -i \'s/lived/ruled the world/\' wisdom/lystrosaurus
author | HackBot |
---|---|
date | Tue, 02 Jul 2013 00:23:31 +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."