From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 1 21:49:23 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0B8116A41F; Mon, 1 Aug 2005 21:49:23 +0000 (GMT) (envelope-from julian@elischer.org) Received: from postoffice.vicor-nb.com (postoffice.vicor.com [69.26.56.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ED9043D45; Mon, 1 Aug 2005 21:49:23 +0000 (GMT) (envelope-from julian@elischer.org) Received: from localhost (localhost [127.0.0.1]) by postoffice.vicor-nb.com (Postfix) with ESMTP id 3438B4CE923; Mon, 1 Aug 2005 14:49:23 -0700 (PDT) Received: from postoffice.vicor-nb.com ([127.0.0.1]) by localhost (postoffice.vicor-nb.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30327-02; Mon, 1 Aug 2005 14:49:22 -0700 (PDT) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by postoffice.vicor-nb.com (Postfix) with ESMTP id 785594CE922; Mon, 1 Aug 2005 14:49:22 -0700 (PDT) Message-ID: <42EE98E2.7020102@elischer.org> Date: Mon, 01 Aug 2005 14:49:22 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050629 X-Accept-Language: en, hu MIME-Version: 1.0 To: diz@linuxpowered.com References: <64511.68.95.232.238.1122917387.squirrel@68.95.232.238> <200508011355.19274.jhb@FreeBSD.org> <20050801180254.GB1176@beatrix.daedalusnetworks.priv> <20050801181014.GA14567@elvis.mu.org> <52275.68.95.232.238.1122920940.squirrel@68.95.232.238> In-Reply-To: <52275.68.95.232.238.1122920940.squirrel@68.95.232.238> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postoffice.vicor.com Cc: freebsd-hackers@freebsd.org Subject: Re: [patch] rc.d cleanup X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2005 21:49:24 -0000 diz@linuxpowered.com wrote: >>Giorgos Keramidas wrote: >> >> >>> [...] >>Thirded. I far prefer the bigger C-like if statements and think this >>patch is a huge code churn for what is basically code obfuscation. >> >>Cheers, >>Maxime >> >> > > >Well I certainly respect the opinions, but respectfully when has the use >of && and || become obfuscation? > > I work on alot of shell code and I prefer the "spelled out the long way" approach. i.e. I prefer if [blah] then if [blah2] then etc.... it's just easier to get it right in my opinion. remember, when the rare 100 sets of fingers in teh picture then you have to code toteh "bloody obvios" standard because sometimes people have to change scripts to handle some external change, and thay may or may not] be shell syntax experts. there si a lot that needs cleanup.. I thonk this is nto one of them.. I do apreciate however the thought and time you have spent. julian >-Jon > >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >