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. || sk...@iskunk.org My ASCII-art .sig got a bad case of Times New Roman.