IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

1993/ant - Best utility

egrep utility with Posix-like documentation

Author:

To build:

    make all

The author provided an unobfuscated version. See Alternate code below.

Bugs and (Mis)features:

The current status of this entry is:

STATUS: INABIAF - please DO NOT fix

For more detailed information see 1993/ant in bugs.html.

To use:

    ./ant 'ERE' [file ...]

Try:

    ./try.sh

Alternate code:

The ant.alt.c is an unobfuscated version provided by the author. You can look at this code if you want some clues in how it works.

Alternate build:

If you wish to build this deobfuscated version, you can do so like:

    make alt

Alternate use:

Use ant.alt like you would ant above.

Alternate try:

    ./try.alt.sh

Judges’ remarks:

See the author’s POSIX P1003.2-like documentation file ant.txt for more information.

This program demonstrates that POSIX doesn’t guarantee readability. :-)

Author’s remarks:

Some of the features of my entry are:

Inventory for 1993/ant

Primary files

Secondary files


Jump to: top