From owner-freebsd-questions@FreeBSD.ORG Thu Aug 24 13:42:07 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B0CA16A4E9 for ; Thu, 24 Aug 2006 13:42:07 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-142-072.chi1.dsl.speakeasy.net [64.81.142.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id D437543D45 for ; Thu, 24 Aug 2006 13:42:04 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p17.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.6/8.12.11) with ESMTP id k7ODfcSs075019; Thu, 24 Aug 2006 08:41:38 -0500 (CDT) Message-Id: <6.0.0.22.2.20060824084023.025c0250@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 24 Aug 2006 08:41:24 -0500 To: Kyrre =?iso-8859-1?Q?Nyg=E5rd?= , questions@freebsd.org From: Derek Ragona In-Reply-To: <7.0.1.0.2.20060824145822.0194fc10@broadpark.no> References: <7.0.1.0.2.20060824145822.0194fc10@broadpark.no> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Code beautifiers, anyone? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 13:42:07 -0000 For C code I use indent http://mysite.wanadoo-members.co.uk/indent/beautify.html -Derek At 07:58 AM 8/24/2006, Kyrre Nyg=E5rd wrote: >Hello people, > >I'm looking for the best ways to create a line of code beautification=20 >(reformatting) scripts -- one for C, one for Ruby, one for Bash and one=20 >for web development languages like XHTML, XML, CSS, PHP and Ajax. Whether= =20 >as frontline warriors or household maids, they would ensure proper=20 >indentation, linebreaks, spaces, tabs and so forth. > >Can anybody help me? > >My studies of architectural science has taught me to pay extreme care to= =20 >the correction of details, and I now wish to apply these teachings to all= =20 >my code. I find myself always reformatting whatever my associates give me.= =20 >Not that they're bad programmers, they just care more about the code=20 >itself rather than its structure, and I dare not argue with that. When=20 >their code is messy, however, my heart feels messy and I can't get any sle= ep. > >I wish to be in full control of my code beautifiers. That is, I wish to=20 >have them as simple and meaningful as possible. Give me an easy Bash over= =20 >a complex Ruby any day. > >There's a lot of messed up tools out there. Companies with flashy websites= =20 >just doing this for the money. So apart from the bullshit, I've managed to= =20 >spot out the Ruby Beautifier and GNU Indent as two worthy code=20 >beautifiers. However I get the feeling they are more complex than they=20 >ought to be, and if less is more, my search will have to continue. > >All the best, >Kyrre > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > --=20 This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.