C Pretty Print - best?

Louis M. McDonald louis at aerospace.aero.org
Thu Jan 3 08:03:04 AEST 1991


I know there are a lot of C pretty print programs around. I am looking
for what might be the best one people have found. I am interested in
using it in a configuration management environment so that the
code will have the same look to. However, when a user checks code 
out to work on, s/he will be able to use the pretty print program
to have the code look like there style. Main "pretty" functions:
indentation, location of {}, comment blocks (not a big deal).


I would like to allow a user to have a configuration file in their
home directory that specifies how they like their C code to look
(e.g. indent=4). When they check out the code, it would be run through
the pretty printer to make the code conform to their prefs. When they
check it back in, a system configuration file would be used to make
the code look like the "chosen" format.

Hope this is clear.

Louis McDonald

-- 
Louis McDonald		Internet: louis at aerospace.aero.org
The Aerospace Corporation
213-336-8914



More information about the Comp.unix.misc mailing list