Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 10:06:11 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        Kyrre Nyg?rd <kyrreny@broadpark.no>
Cc:        questions@freebsd.org
Subject:   Re: Code beautifiers, anyone?
Message-ID:  <20060824150611.GA21046@Grumpy.DynDNS.org>
In-Reply-To: <7.0.1.0.2.20060824145822.0194fc10@broadpark.no>
References:  <7.0.1.0.2.20060824145822.0194fc10@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 24, 2006 at 02:58:38PM +0200, Kyrre Nyg?rd wrote:
> Hello people,
> 
> I'm looking for the best ways to create a line of code beautification 
> (reformatting) scripts -- one for C, one for Ruby, one for Bash and 
> one for web development languages like XHTML, XML, CSS, PHP and Ajax. 
> Whether as frontline warriors or household maids, they would ensure 
> proper indentation, linebreaks, spaces, tabs and so forth.
> 
> Can anybody help me?

For C I use /usr/ports/devel/gindent/ with the following ~/.indent.pro

//  My favorite GNU Indent style.
//  dmk 9/2/2005

-br
-cdw
-ce
-ncs
-npcs
-prs
-nsaf
-nsai
-nsaw
-ss
-i4
-ts4
-nut

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060824150611.GA21046>