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-30334-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1JmQmF-00029J-2f
	for garchives@archives.gentoo.org; Thu, 17 Apr 2008 09:51:35 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 40B05E041F;
	Thu, 17 Apr 2008 09:51:33 +0000 (UTC)
Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245])
	by pigeon.gentoo.org (Postfix) with ESMTP id 21ACAE041F
	for <gentoo-dev@lists.gentoo.org>; Thu, 17 Apr 2008 09:51:33 +0000 (UTC)
Received: by an-out-0708.google.com with SMTP id c8so796016ana.47
        for <gentoo-dev@lists.gentoo.org>; Thu, 17 Apr 2008 02:51:33 -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:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
        bh=UAntwkdGkHdwHOIyUXetU6ReFDhlI7vIyGb2zqipY4I=;
        b=m1eIAe0+sGTzBmMse8niSTxMyvnUAIRtwZNe3jxkT6KTp4Fa3XDSvGyXz7fKgmY7QL9DM/oEjHpfWWJ/YMwCNvlMbAMqT/1s8dLFiAFhxQMGwc7zNVZkTS646F/pQHNDvUi1VWpiVY06J3StmyeGrgdObUPj7+OvmeMfYbjgQJQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
        b=LGJ1Wwcn18pJWqEC2DqdtPTavt7py1JXCr5KkYwfxkuYVF1LPeO6VUjnZ07mjP1jUcE6+YshqiYszJGQ3a7AihrPmbGuHPIwP0juj7BpAHZmbhtOR12zmgA5w9+WazLX8UMwfGPBnflfqfAU/u3dQfL5TSkrB8kl7u4h5y7yBVE=
Received: by 10.100.255.17 with SMTP id c17mr2207973ani.37.1208425892851;
        Thu, 17 Apr 2008 02:51:32 -0700 (PDT)
Received: by 10.100.45.17 with HTTP; Thu, 17 Apr 2008 02:51:32 -0700 (PDT)
Message-ID: <3c32af40804170251w353a1329o26433de9256ecba9@mail.gmail.com>
Date: Thu, 17 Apr 2008 11:51:32 +0200
From: "Santiago M. Mola" <coldwind@gentoo.org>
Sender: cooldwind@gmail.com
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: escaping variables in sed expressions
In-Reply-To: <pan.2008.04.17.04.31.58@cox.net>
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=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <48048E31.6040209@gentoo.org>
	 <3c32af40804150405qb2bbfbavb8d7ce575dbc2278@mail.gmail.com>
	 <20080415141753.GS29406@der-frank.org>
	 <20080415171606.6e2a900a.genone@gentoo.org>
	 <20080416171751.GT29406@der-frank.org>
	 <20080416182405.651698dd@snowcone> <pan.2008.04.17.04.31.58@cox.net>
X-Google-Sender-Auth: 14b044460f6c9eec
X-Archives-Salt: 894b4f7f-bbdb-44e5-8553-7684d583db21
X-Archives-Hash: 463e884d900e93e3253c655fc1bba9ea

On Thu, Apr 17, 2008 at 6:31 AM, Duncan <1i5t5.duncan@cox.net> wrote:
>
>  While you are almost certainly correct on POSIX/Unix filenames and the
>  shell won't accept / in a filename, IIRC (from reading) it's often
>  possible for C programs to code a literal / in a filename, and possible
>  for some filesystems (also written in C, generally) to accept it.  Thus,
>  while POSIX/Unix standards don't allow it, in practice, it's sometimes
>  possible, if rare.

If that's possible, we shouldn't support it anyway. If someone wants
to use /var/tmp/port\/age we'll just stab him, if someone releases a
tarball with such filenames we'll stab him, too.

-- 
Santiago M. Mola
Jabber ID: cooldwind@gmail.com
-- 
gentoo-dev@lists.gentoo.org mailing list