Do you trust the "indent" program?

Joseph Hillenburg anlhille at rose.ucs.indiana.edu
Tue Jan 1 15:18:50 AEST 1991


In article <5970 at stpstn.UUCP>, lerman at stpstn.UUCP (Ken Lerman) writes...
|In article <12184 at sybase.sybase.com> forrest at sybase.com writes:

I fiddled with Intent on a pure BSD4.3/MicroVAX II, and compiled a single
C file with the options:

% gcc -O -S test.c
% mv test.s test_noindent.s
% indent test.c
% gcc -O -S test.c
% mv test.s test_indent.s

I won't show diffs, but there was less than 10 lines difference in the two
files. The test.c file was the source to a mutant version of ctar.

Of course, you may get different results.

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
|   //     Joseph Hillenburg, Secretary, Bloomington Amiga Users Group        |
| \X/  anlhille at ucs.indiana.edu                     anlhille at iurose.BITNET    |
|      "Have fun folks. It's the last time you'll be seeing this place"       |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+



More information about the Comp.lang.c mailing list