Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
User Journal

Journal JDWTopGuy's Journal: Even more pathetic... 11

The boredom meter was hitting dangerous levels again, so I turned the C program I posted in my last JE into a self-compiling, self-running program.

Basically, wrote a simple bash script that extracts the C program from itself (tail -n 17 $0 > tmp.c), then compiles the program, removes the temporary file, and runs the C program.

Isn't that thrilling?

This discussion has been archived. No new comments can be posted.

Even more pathetic...

Comments Filter:

The biggest difference between time and space is that you can't reuse time. -- Merrick Furst

Working...