Ralf Wildenhues <[EMAIL PROTECTED]> writes:

> On HEAD, quote.test currently fails on Solaris 2.6, because the
> sed_double_backslash script is not portable its /bin/sed, which
> is not POSIX conforming.  This script in general.m4sh is the culprit:
[...]
> I'm a bit out of ideas how to fix this easily, while maintaining
> full generality at the same time.

Hm, did you consider using something like this?

--- snip ---
bs='\\'
bs2='\\\\'
bs4='\\\\\\\\'
dollar='\$'
sed_double_backslash="\
  s/$bs4/$bs4\\
/g
  s/\n$bs2$dollar/$bs2$bs$dollar/g
  s/\n//g"
--- snip ---

I think it is general and it should be portable. Well, at least it
seems to work with /bin/sh of Solaris.

Bye,
Ralf Menzel


Reply via email to