Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!petunia!news From: andy@polyslo.CalPoly.EDU (Andy Pippin ) Newsgroups: comp.unix.misc Subject: Re: C Pretty Print - best? Keywords: c, pretty print, cm Message-ID: <2782d48a.1253@petunia.CalPoly.EDU> Date: 3 Jan 91 06:51:54 GMT References: <95764@aerospace.AERO.ORG> Organization: Elfin Optical Lines: 25 Like, ya' know, then louis@aerospace.aero.org (Louis M. McDonald) says... ~ ~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). Hmm... Sounds like you could use a program called indent. It's available in comp.sources.unix archives in Volume 18. It's got more option's than you can shake a stick at, and will read in a file as well. aBp. -- Andy Pippin \ Spikes Place: because life is too andy@polyslo.CalPoly.EDU \ short to drink cheap beer. 1011 1011 110 1011 1011 110 1011 1011 110 1011 1011 110 1011 1011 110 Going free-agent in 163 days!!!