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 1Ihh39-0004O8-SN for garchives@archives.gentoo.org; Tue, 16 Oct 2007 07:41:12 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9G7U717007175; Tue, 16 Oct 2007 07:30:07 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9G7SDqH004826 for ; Tue, 16 Oct 2007 07:28:14 GMT Received: from gentoo.org (c-67-171-150-177.hsd1.or.comcast.net [67.171.150.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 6CA45655A0 for ; Tue, 16 Oct 2007 07:28:13 +0000 (UTC) Date: Tue, 16 Oct 2007 00:28:12 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org 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 Message-ID: <20071016072812.GT23990@supernova> References: <20071014211125.GB23990@supernova> <20071014235246.GA19544@phaenix.haell.com> <20071015022506.461cea64@eusebe> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 9219bea1-7bf7-4b66-92d2-2e521792623f X-Archives-Hash: 8bdf9bb3e087bc1bc02c6a9b34ec182f 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 Thanks, Donnie -- gentoo-dev@gentoo.org mailing list