delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/02/11:51:29

From: naisbodo <naisbodo AT enteract DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C Beautifier
Date: 2 Dec 2000 16:36:46 GMT
Organization: http://www.naisbodo.com/
Lines: 18
Message-ID: <90b8eu$gu5$1@bob.news.rcn.net>
References: <9007a5$nm9$1 AT venus DOT telepac DOT pt>
X-Trace: MCLaRYX/SPkBsbAxW8JD+4MyISKNTbYIejLZevmM4XY=
X-Complaints-To: abuse AT rcn DOT com
NNTP-Posting-Date: 2 Dec 2000 16:36:46 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Paulo J. Matos aka PDestroy <pdestroy AT netcabo DOT pt> wrote:
> Hi, I need to print my C program code. Do any of you where I can find a C
> beautifier to put it neat and ready to print?

In the v2gnu directory where you found DJGPP, you can also find GNU
indent.  For example:

    ftp://ftp.simtel.net/public:/simtelnet/gnu/djgpp/v2gnu/ind191s.zip

I personally use BSD indent with options equivalent to:

    indent -bl -i4 -bli0 -nce

HTH,

-- 
naisbodo AT enteract DOT com
http://www.naisbodo.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019