Roger Persson wrote:
> Great. But I wonder if there is one malfunction still in the script.
> What if the escape character isn't preceeded by a whitespace?

You're right. I wasn't aware that "make" replaces backslash-newline with
a space (unlike "sh", which replaces it with nothing). I'm applying this:


2006-11-02  Bruno Haible  <[EMAIL PROTECTED]>

        * gnulib-tool (func_get_automake_snippet): Interpret a backslash-
        newline sequence in the Makefile.am snippet as a space, like "make"
        does.
        Reported by Roger Persson <[EMAIL PROTECTED]>.

*** gnulib-tool 1 Nov 2006 13:20:07 -0000       1.185
--- gnulib-tool 2 Nov 2006 13:56:39 -0000
***************
*** 916,922 ****
        sed_combine_lines='/\\$/{
          :a
          N
!         s/\\\n//
          s/\\$/\\/
          ta
        }'
--- 916,922 ----
        sed_combine_lines='/\\$/{
          :a
          N
!         s/\\\n/ /
          s/\\$/\\/
          ta
        }'


Reply via email to