Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ariadne!theseas!ntua.gr!zvr From: zvr@ntua.gr (Alexios Zavras) Newsgroups: comp.software-eng Subject: Re: Automated tools for verifying C style compliance? Keywords: style tools Message-ID: <1222@theseas.ntua.gr> Date: 22 Nov 90 09:50:50 GMT References: <4990@tekfdi.FDI.TEK.COM> <9544@orca.wv.tek.com> <3086@exodus.Eng.Sun.COM> Sender: news@theseas.ntua.gr Reply-To: zvr@ntua.gr Organization: National Technical University of Athens, Greece Lines: 17 In article <3086@exodus.Eng.Sun.COM>, donm@margot.Eng.Sun.COM (Don Miller) writes: > In UNIX land (SunOS of course :-): > indent [options] source_file.c ; diff source_file.c source_file.c.BAK ; > {mv source_file.c.BAK source_file.c} Assuming that indent(1) works, of course. It didn't treat files with lots of #ifdef's very nively, last time I checked... (Of course, really portable programs don't use #ifdef's anyway :-) Anybody ready for starting a "my indent options are better than yours" argument ? -- zvr -- +---------------------------+ Alexios Zavras (-zvr-) | H eytyxia den exei enoxes | zvr@ntua.gr +-----------------------zvr-+ zvr%theseas.ntua.gr@ariadne.csi.forth.gr "Il faut vivre comme on pense, sinon tot ou tard, on finit par penser comme on a vecu"