User: Password:
Subscribe / Log in / New account

KS2008: Linux 3.0

KS2008: Linux 3.0

Posted Sep 16, 2008 21:20 UTC (Tue) by jengelh (subscriber, #33263)
In reply to: KS2008: Linux 3.0 by nix
Parent article: KS2008: Linux 3.0

Nah, you can't correct a line once you hit enter. But you can do it in one line:

echo -en '#include <stdio.h>\nint main(void) { return printf("Hello World\\n"); }\n' | gcc -Wall -xc -

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds