Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cwjcc!hal!nic.MR.NET!tank!mimsy!haven!aplcen!osiris!consult From: consult@osiris.UUCP (Unix Consultation Mailbox ) Newsgroups: comp.unix.wizards Subject: Re: Latest indent request Message-ID: <2736@osiris.UUCP> Date: 19 Dec 88 22:43:46 GMT References: <17680@adm.BRL.MIL> <1748@solo3.cs.vu.nl> <366@lclark.UUCP> <1801@solo9.cs.vu.nl> <5428@sneaky.TANDY.COM> Reply-To: consult@osiris.UUCP (Unix Consultation Mailbox (Phil)) Organization: The Johns Hopkins Hospital, Information Systems Lines: 16 In article <5428@sneaky.TANDY.COM> gordon@sneaky.UUCP (Gordon Burditt) writes: >Before anyone gets too enthusiastic about running all code in sight >through indenter/beautifier programs so they conform to THE correct >brace style, be very sure you aren't destroying code in the process. Yup. The last time I tried running an example file through one of our vailable versions of cb (under the SysV side of Pyramid OSx), using a certain option (-j, I think), it decided that my "->"s were all two consecutive tokens and split some of them across newlines. My compilers were NOT amused, making the problem easier to find than Gordon's suggestions indicated, but any programmer who thinks that just because a file passes cc means it's correct should be [insert favorite method of painful public execution here]... Phil Kos uunet!pyrdc!osiris!phil The Johns Hopkins Hospital