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 ) id 1JlmwQ-0003Nq-7m for garchives@archives.gentoo.org; Tue, 15 Apr 2008 15:19:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C55E3E065A; Tue, 15 Apr 2008 15:18:09 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 884EAE065A for ; Tue, 15 Apr 2008 15:18:09 +0000 (UTC) Received: from sheridan (dslb-082-083-038-240.pools.arcor-ip.net [82.83.38.240]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) id 0MKwtQ-1JlmvA3rGT-000275; Tue, 15 Apr 2008 17:18:09 +0200 Date: Tue, 15 Apr 2008 17:16:06 +0200 From: Marius Mauch To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] escaping variables in sed expressions Message-Id: <20080415171606.6e2a900a.genone@gentoo.org> In-Reply-To: <20080415141753.GS29406@der-frank.org> References: <48048E31.6040209@gentoo.org> <3c32af40804150405qb2bbfbavb8d7ce575dbc2278@mail.gmail.com> <20080415141753.GS29406@der-frank.org> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.10.14; i686-pc-mingw32) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19g6ljYVgtbt9fdj+6iI07WH4UisSCHH1Hk02i mIsW5qDasvIKNoAi/mBfX/HDm17EwkREYRBFKx+xSaTKoIKC1T 5kbWrsXrZmfZo2aCgVXNA== X-Archives-Salt: 584fe992-7921-42c7-aa3c-90486974bb49 X-Archives-Hash: 32ddb661b1f4c1f12df0c5fe8155032d On Tue, 15 Apr 2008 16:17:54 +0200 Frank Gruellich wrote: > * Santiago M. Mola 15. Apr 08: > > On Tue, Apr 15, 2008 at 1:14 PM, Marijn Schouten (hkBst) > > Currently is use ':' as sed delimiter when paths are involved. I'd > > also like to hear from you about proper delimiters if you think ':' > > is not safe enough. > > > > AFAIK, the only corner case which would make this fail would be > > Windows paths (C:/gentoo-prefix). > > Even though it's probably stupid to use it, but ':' is a valid > character within a path. I've no solution for this problem, however. Valid maybe (but then pretty much every character is valid), but colon is used as path delimiter in many other contexts (e.g. $PATH) so it's rather unlikely to be used. Marius -- gentoo-dev@lists.gentoo.org mailing list