pseudoberries random thoughts about life, hacking and open source

self

self is a C program which outputs its own source code. For a more compact version, see self_compact.c.

Installation

Compile with:
gcc -Wall -ansi self.c -o self

Usage

./self

Verify

You can verify the correctness of this program with:

$ ./self > self.out
$ diff self.c self.out

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.