Re: [bug-gnulib] gnulib-tool: unterminated substitute pattern

2006-11-02 Thread Bruno Haible
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 t

Re: Re: [bug-gnulib] gnulib-tool: unterminated substitute pattern

2006-11-01 Thread Perrog
Great. But I wonder if there is one malfunction still in the script. What if the escape character isn't preceeded by a whitespace? Or am I wrong? Consider "\ " " \ " This will result in "" and ". But maybe this doesn't matter?

Re: [bug-gnulib] gnulib-tool: unterminated substitute pattern

2006-11-01 Thread Bruno Haible
Roger Persson wrote: > I get a strange sed warning/error of "unterminated substitute pattern" > while using gnulib-tool. I'm building bison and the bootstrapping > process uses gnulib-tool. ... > > I tracked down the failure to a regular expression in > "func_get_automake_snippet" in gnulib-tool: