Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!sri-spam!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!cae780!gordon From: gordon@cae780.TEK.COM (Brian Gordon) Newsgroups: comp.lang.c Subject: Re: Program for Formatting C Source Message-ID: <4304@cae780.TEK.COM> Date: Fri, 24-Jul-87 12:34:59 EDT Article-I.D.: cae780.4304 Posted: Fri Jul 24 12:34:59 1987 Date-Received: Sat, 25-Jul-87 15:32:05 EDT References: <5648@ut-ngp.UUCP> <303@olamb.UUCP> Reply-To: gordon@cae780.UUCP (Brian Gordon) Organization: CAE Systems Division of Tektronix, Inc., Santa Clara, CA Lines: 15 In article <303@olamb.UUCP> kimcm@olamb.UUCP (Kim Chr. Madsen) writes: >In article <5648@ut-ngp.UUCP>, jjr@ut-ngp.UUCP (Jeff Rodriguez) writes: >> Does anyone have a program that formats C source to make it >> look "pretty" (i.e., proper indentation is added)? > >If you're running UNIX try looking up the cb(1) in the manual! (My mailed response to the Jeff bounced) For lots of flexibility, try 'indent' if it is on your system (e.g. 4.3bsd). You might spend some time choosing options -- it has 2.308E27 of them -- but you can probably come up with something you are willing to live with. FROM: Brian G. Gordon, CAE Systems Division of Tektronix, Inc. UUCP: tektronix!cae780!gordon [or gordon@cae780.CAE.TEK.COM]