Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



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:

We want to create puppets that pull their own strings. - Ann Marion

Working...