From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-32829-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1KhSlv-0002to-L9
	for garchives@archives.gentoo.org; Sun, 21 Sep 2008 17:30:59 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 84888E0593;
	Sun, 21 Sep 2008 17:30:58 +0000 (UTC)
Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187])
	by pigeon.gentoo.org (Postfix) with ESMTP id 153E7E0593
	for <gentoo-dev@lists.gentoo.org>; Sun, 21 Sep 2008 17:30:57 +0000 (UTC)
Received: by ti-out-0910.google.com with SMTP id u5so669692tia.10
        for <gentoo-dev@lists.gentoo.org>; Sun, 21 Sep 2008 10:30:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references;
        bh=/g8x4XFFD3Yw88TxOoQiZbieeSK2WibtFqqahv5YhdM=;
        b=HIh8JfvSFneNNqpn5AbhqmH2lZBK7jJY8ioKlBNRQiSkxDnbnlGwj46+C1dPUtTikW
         Gh0fN4oCAk/HCfqmh4u5ks+MyE/cNDavQ0mLsfwgrRko2o5Siew+fbh6NQ8D37AW1GrQ
         8DKj6ZbsyHD1Gvom3YfLCi03UzIu/mdeAcCkc=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references;
        b=wzqnw7kVOtyckgKbfK+ItyxbHV4h4M7WrQdaXyZmnMrO9AoZcywR5HosinNU+hfpoH
         QG8hg0dNbg1Ub7fCIBE3BcnPfG0S147Vubu/0qb3xxEbmm0QXBKOPdMYK5phV0nBK98l
         vn99mfo8WQmsn96ZvQqNELZ0tvow+EzvVT/C4=
Received: by 10.110.93.12 with SMTP id q12mr4091809tib.16.1222018255338;
        Sun, 21 Sep 2008 10:30:55 -0700 (PDT)
Received: by 10.110.50.20 with HTTP; Sun, 21 Sep 2008 10:30:55 -0700 (PDT)
Message-ID: <8cd1ed20809211030w74725bb1qd60482d5fa7bfce2@mail.gmail.com>
Date: Mon, 22 Sep 2008 05:30:55 +1200
From: "Kent Fredric" <kentfredric@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: Default src_install for EAPI-2 or following EAPI
In-Reply-To: <18646.17986.821510.192980@a1ihome1.kph.uni-mainz.de>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
References: <bcwiO-7zO-1@gated-at.bofh.it> <be8YL-33V-3@gated-at.bofh.it>
	 <be9Lf-478-5@gated-at.bofh.it>
	 <Pine.LNX.4.64.0809210744400.20111@wmax001.mathematik.uni-wuerzburg.de>
	 <gb5dkp$h30$1@ger.gmane.org>
	 <18646.17986.821510.192980@a1ihome1.kph.uni-mainz.de>
X-Archives-Salt: e84cc4e3-a073-4e35-96b0-3ee090cf86fe
X-Archives-Hash: 91e068c1b92d3bade5e311f1dd5e05ac

On Mon, Sep 22, 2008 at 1:04 AM, Ulrich Mueller <ulm@gentoo.org> wrote:
>
> >>>>> On Sun, 21 Sep 2008, Steve Long wrote:
>
> > Vaeth wrote:
> >> let me remark that the more clever way to this is
> >> [ -n "${DOCS}" ] && eval "dodoc ${DOCS}"
>
> > [...]
> > BASH arrays will cope with *any* character apart from NUL, which
> > isn't allowed in filenames. Can you _guarantee_ the same?
>
> It seems to me that both bash arrays and "eval" are overkill here.
>
> After all, we are talking about a _default_ behaviour, and IMHO this
> should be kept as simple as possible. I doubt that there are many
> ebuilds installing files with strange names in /usr/share/doc. The few
> (if any) doing that might need a more complicated src_install anyway.
>
> My system may not be representative, but here are _no_ files
> containing spaces in /usr/share/doc:
>
> $ find /usr/share/doc | wc
>  104936  104936 7522127
>
> (Note that the number of lines and words are equal.)
>
> Ulrich
>

find /usr/share/doc/ -wholename "* *"
/usr/share/doc/gpac-0.4.4-r1/ISO 639-2 codes.txt.bz2

And in case somebody gets space-phobic on a different directory :

find /usr/ -wholename "* *"
/usr/kde/4.2/share/applnk/Development/Web Development
/usr/kde/svn/share/applnk/Development/Web Development
/usr/share/applnk/Development/Web Development
/usr/share/doc/gpac-0.4.4-r1/ISO 639-2 codes.txt.bz2
/usr/share/lcms/profiles/sRGB Color Space Profile.icm
/usr/share/mixxx/( Lots here )


 =A2=A2 ( Apps that break on spaces are embarrasing )
--
Kent

ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print "enNOSPicAMreil kdrtf@gma.com"[(2*x)..(2*x+1)]}'

http://kent-fredric.fox.geek.nz