Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!aero!louis From: louis@aerospace.aero.org (Louis M. McDonald) Newsgroups: comp.unix.misc Subject: C Pretty Print - best? Keywords: c, pretty print, cm Message-ID: <95764@aerospace.AERO.ORG> Date: 2 Jan 91 21:03:04 GMT Organization: The Aerospace Corporation, El Segundo, CA Lines: 25 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@aerospace.aero.org The Aerospace Corporation 213-336-8914