From owner-freebsd-questions@FreeBSD.ORG Fri Aug 25 03:16:30 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 7E10616A4DE for ; Fri, 25 Aug 2006 03:16:30 +0000 (UTC) (envelope-from dkelly@HiWAAY.net) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCED643D62 for ; Fri, 25 Aug 2006 03:16:24 +0000 (GMT) (envelope-from dkelly@HiWAAY.net) Received: (qmail 13564 invoked by uid 0); 25 Aug 2006 03:16:23 -0000 Received: from unknown (HELO ?10.0.0.6?) (216.186.148.249) by smtp8.knology.net with SMTP; 25 Aug 2006 03:16:23 -0000 In-Reply-To: <1b15366e0608241500j5f1b4662p9a0d9cd811de841f@mail.gmail.com> References: <7.0.1.0.2.20060824145822.0194fc10@broadpark.no> <1b15366e0608240618j62d41ad3j537f095b2e566ed5@mail.gmail.com> <7.0.1.0.2.20060824192439.02386de8@broadpark.no> <1b15366e0608241500j5f1b4662p9a0d9cd811de841f@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <332C8C2B-21CD-4461-9C6A-325CB3D487A0@HiWAAY.net> Content-Transfer-Encoding: quoted-printable From: David Kelly Date: Thu, 24 Aug 2006 22:16:20 -0500 To: FreeBSD Questions X-Mailer: Apple Mail (2.752.2) Cc: Subject: Re: Code beautifiers, anyone? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 03:16:30 -0000 On Aug 24, 2006, at 5:00 PM, Matti J. Karki wrote: > On 8/24/06, Kyrre Nyg=E5rd wrote: >> >> Perhaps you could share with us whatever scripts you've written? >> > > Totally forgot to include the actual intendation script. I'm just a bit confused about the fascination with scripts for cleaning up code. Is it the desire to clean up more than just C? For C, /usr/bin/indent does very well, GNU indent in /usr/ports/devel/gindent/ seems to have been updated more recently and is easier to find pre-compiled Windows binaries if necessary. I first ran across indent when it was mentioned to be a capable tool for unraveling deliberate obfuscation as found in entries in The International Obfuscated C Code Contest, http://www.ioccc.org/ -- David Kelly N4HHE, dkelly@HiWAAY.net =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Whom computers would destroy, they must first drive mad.