From owner-freebsd-questions@FreeBSD.ORG Thu Aug 24 17:25:09 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 043D116A4EB for ; Thu, 24 Aug 2006 17:25:08 +0000 (UTC) (envelope-from kyrreny@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id D977C43D53 for ; Thu, 24 Aug 2006 17:25:07 +0000 (GMT) (envelope-from kyrreny@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J4I00LHPJ1SZG40@osl1smout1.broadpark.no> for questions@freebsd.org; Thu, 24 Aug 2006 19:25:04 +0200 (CEST) Received: from suria.broadpark.no ([80.203.212.30]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0J4I00J4JJ1SZJQ1@osl1sminn1.broadpark.no> for questions@freebsd.org; Thu, 24 Aug 2006 19:25:04 +0200 (CEST) Date: Thu, 24 Aug 2006 19:25:12 +0200 From: Kyrre =?iso-8859-1?Q?Nyg=E5rd?= In-reply-to: <1b15366e0608240618j62d41ad3j537f095b2e566ed5@mail.gmail.co m> To: "Matti J. Karki" Message-id: <7.0.1.0.2.20060824192439.02386de8@broadpark.no> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <7.0.1.0.2.20060824145822.0194fc10@broadpark.no> <1b15366e0608240618j62d41ad3j537f095b2e566ed5@mail.gmail.com> Cc: questions@freebsd.org 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 17:25:09 -0000 At 15:18 24.08.2006, Matti J. Karki wrote: >Well, my suggestion to anyone asking this question is that the best >thing IMHO is to learn some scripting language with good regular >expression support. For example Tcl, Python or Perl. I have to deal >with all sorts of source code and I have noticed that - for me - the >easiest path is to first study the source code and then create a >simple script to beautify the code. It takes less time than trying to >find some suitable tool, which may not even product exactly the style >I want. Very well said man, this is indeed my goal too! Perhaps you could share with us whatever scripts you've written? Thanks!