bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gl_ABSOLUTE_HEADER_ONE and older seds


From: Daniel Richard G.
Subject: Re: gl_ABSOLUTE_HEADER_ONE and older seds
Date: Thu, 13 Oct 2011 22:49:58 -0400

On Thu, 2011 Oct 13 16:18-0700, Paul Eggert wrote:
>
> Hmm, but isn't it a bit iffy? With the patch, a string with '\' is
> passed to 'echo', and that's not portable.  Maybe it works on mingw,
> maybe not (I don't use mingw).

Good point!

> How about the following patch instead?

As Bruno noted, the '\|foo|{...}' construct remains a problem. However,
I'll replace the echo with [printf '%s\n' "$blah"].

> To be honest, though, I don't want to be dragged down the slippery
> slope of supporting museum pieces, as that's not Gnulib's job.

I agree, actually; that's why I couched this in terms of supporting
older seds in general, rather than NS qua NS.

I'm currently playing around with Bruno's --create-testdir suggestion,
and will follow that up. (I so wish I had played around with this back
when it was new... :)


--Daniel


-- 
Daniel Richard G. || address@hidden
My ASCII-art .sig got a bad case of Times New Roman.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]