[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib-tool bug
From: |
Paolo Bonzini |
Subject: |
Re: gnulib-tool bug |
Date: |
Sat, 28 Feb 2009 11:15:01 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (Macintosh/20081209) |
Bruno Haible wrote:
> Eric Blake wrote:
>>> This looks like a bug to me: \\ expands to nothing. No way to produce a
>>> backslash in the replacement.
>> I concur.
>
> Thanks. So I'm disabling --posix. Patch appended.
>
>> "... For each other <backslash> encountered, the following
>> character shall lose its special meaning (if any). The meaning of a
>> <backslash>
>> immediately followed by any character other than ’&’, <backslash>, a digit,
>> or
>> the delimiter character used for this command, is unspecified."
>>
>> Thus, 's,^,\/,', is non-portable.
>
> Thanks for explaining. So the third of the mentioned sed expressions is not
> POSIX compliant. Fixing it, as attached.
FWIW, the bug mentioned earlier in the thread is already fixed in git sed.
Paolo
- gnulib-tool bug, Eric Blake, 2009/02/27
- Re: gnulib-tool bug, Bruno Haible, 2009/02/27
- Re: gnulib-tool bug, Eric Blake, 2009/02/27
- Re: gnulib-tool bug, Bruno Haible, 2009/02/27
- Re: gnulib-tool bug, Eric Blake, 2009/02/27
- Re: gnulib-tool bug, Bruno Haible, 2009/02/27
- Re: gnulib-tool bug, Eric Blake, 2009/02/27
- Re: gnulib-tool bug, Bruno Haible, 2009/02/27
- Re: gnulib-tool bug,
Paolo Bonzini <=