From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IhhJS-0005O4-5C for garchives@archives.gentoo.org; Tue, 16 Oct 2007 07:58:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9G7l0w0011820; Tue, 16 Oct 2007 07:47:00 GMT Received: from mail.marples.name (rsm.demon.co.uk [80.177.111.50]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9G7jBon009579 for ; Tue, 16 Oct 2007 07:45:12 GMT Received: from [10.73.1.30] (uberpc.marples.name [10.73.1.30]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.marples.name (Postfix) with ESMTP id 7B2D5190038 for ; Tue, 16 Oct 2007 08:45:11 +0100 (BST) Subject: Re: [gentoo-dev] Re: Re: [gentoo-commits] gentoo-x86 commit in dev-php5/onphp: ChangeLog onphp-0.10.6.ebuild onphp-0.10.4.ebuild onphp-0.10.3.ebuild From: Roy Marples To: gentoo-dev@lists.gentoo.org In-Reply-To: <20071016072812.GT23990@supernova> References: <20071014211125.GB23990@supernova> <20071014235246.GA19544@phaenix.haell.com> <20071015022506.461cea64@eusebe> <20071016072812.GT23990@supernova> Content-Type: text/plain Organization: Gentoo Date: Tue, 16 Oct 2007 08:44:34 +0100 Message-Id: <1192520674.3687.1.camel@uberpc.marples.name> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 490589a3-4fa1-4746-ad9b-8cd4b206db28 X-Archives-Hash: 2bd147cee260a3b5ec3c770b5e72cc10 On Tue, 2007-10-16 at 00:28 -0700, Donnie Berkholz wrote: > On 08:19 Tue 16 Oct , Steve Long wrote: > > stdDocs=(ChangeLog AUTHORS FEATURES THANKS README CodingStyle TODO FAQ) > > > > stdDoc() { > > local d l=() > > for d in "${stdDocs[@]}"; do > > [[ -f $d ]] && l+=("$d") > > done > > ((${#l[@]})) && dodoc "${l[@]}" > > } > > > > (assuming [[ $PWD = $S ]] or whichever is the right one for docs.) > > Is it just me, or is this code way more complex than it needs to be? It > looks like bashturbation to me. =P Nope, it looks like milk and cereal decorating my monitor to me; after reading that! :) Roy -- gentoo-dev@gentoo.org mailing list