Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!brolga!bunyip.cc.uq.oz.au!lance!ptcburp!rick From: rick@ptcburp.ptcbu.oz.au (Rick Stevenson) Newsgroups: comp.lang.c Subject: Re: Do you trust the "indent" program? Message-ID: <256@ptcburp.ptcbu.oz.au> Date: 24 Dec 90 05:21:58 GMT References: <12184@sybase.sybase.com> Organization: Pyramid Technology Corporation Lines: 20 forrest@sybase.com writes: >Let's say your company just decided on a coding standard and let's >say you were able to come up with a specification file for the >'indent' program that would allow 'indent' to change all your >1000's of source files to meet the standard. Do you trust 'indent' >enough to run it on all your source file without making any mistakes? >By mistakes I mean changes that actually change your code so that it >does something different than what it did before you ran it through >'indent'. Why don't you run a copy of your src files through indent, recompile, and compare new object files with the old versions? The proof of the pudding... Rick. -- -m------- Rick Stevenson ---mmm----- Pyramid Technology +61 75 522475 FAX -----mmmmm--- Research Park, Bond University +61 75 950249 VOICE -------mmmmmmm- Gold Coast, Q 4229, AUSTRALIA rick@ptcburp.ptcbu.oz.au