Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 235 Bytes

README.markdown

File metadata and controls

15 lines (8 loc) · 235 Bytes

Run

./quine.py < pre_quine.c  > quine.c

to get quine.c which will print it's own source code when compiled

gcc -Wall -std=c99 -o quine quine.c

and run:

./quine

Not convinced? Check with:

./quine | diff quine.c -