Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] escaping variables in sed expressions
Date: Wed, 16 Apr 2008 17:24:18
Message-Id: 20080416182405.651698dd@snowcone
In Reply to: Re: [gentoo-dev] escaping variables in sed expressions by Frank Gruellich
1 On Wed, 16 Apr 2008 19:17:51 +0200
2 Frank Gruellich <frank@×××××××××.org> wrote:
3 > I was not able to create a filename or path containing it. (Anyone
4 > else?)
5
6 Unix file names can't contain / or null.
7
8 > Unfortunately that stupid sed does not work with \x00 as
9 > delimiter...
10
11 Nor do most Unix apps, since they tend to be written in C using all
12 those C library functions that work on null terminated strings.
13
14 Null introduces far more problems than it solves, character-wise...
15
16 --
17 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: escaping variables in sed expressions Duncan <1i5t5.duncan@×××.net>
[gentoo-dev] Re: escaping variables in sed expressions Steve Long <slong@××××××××××××××××××.uk>