bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib-tool: unterminated substitute pattern


From: Eric Blake
Subject: Re: gnulib-tool: unterminated substitute pattern
Date: Wed, 01 Nov 2006 06:10:17 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Perrog on 10/31/2006 1:36 PM:
> Hi!
> 
> 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 manage to build bison completely, even of
> this warning occur. However, I wanted to check what gnulib-tool claims
> over. This is the gnulib-tool command

...
> I tracked down the failure to a regular expression in
> "func_get_automake_snippet"  in gnulib-tool:906. This is the
> expression.
> 
>      # Synthesize an EXTRA_DIST augmentation.
>      sed_combine_lines='/\\$/{
>      :a
>        N
>        s/\\\
> //
>        s/\\$/\\/
>        ta
>      }'

Which shell are you using?  Bash 3.2.0 had a bug in parsing # inside ``;
it was fixed in bash 3.2.1.

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFSJy584KuGfSFAYARAjxgAKCI4/RpQhOVDc+PoevH3XfsVNUraACgn5gN
9xx7fjPxcI/36EFgyWChcns=
=FfqG
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]