Mercurial > repo
view bin/learn @ 3381:6c1921ed1fd2
<Jafet> echo $\'main() { int x; x = 3; int y; return x + y; }\\n\' > a.c && gcc a.c
author | HackBot |
---|---|
date | Wed, 07 Aug 2013 00:32:29 +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."