-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Eric Blake on 11/19/2009 6:06 AM: > According to Josef Vukovic on 11/18/2009 10:26 PM: >> Hello, > >> I am searching for an old m4 version which have the Bug regarding >> changequote: > >> define(foo,000) >> changquote(<QUOTE>,<UNQUOTE>)
Typo. You meant changequote. >> define(baz,defn(<QUOTE>foo<UNQUOTE>)) But even given the typo, you do not have unterminated input. > >> should produce the error: m4: End of Input 0: fatal error: EOF in string By the way, the message you claim should print is definitely from GNU m4 vintage. I did check that at least m4-1.4.4 states EOF in string, but not exactly in that formatting, while m4-1.4.6 spells it out as "end of file in string". Also, as a note of portability, POSIX says changequote is only portable for delimiters up to 5 bytes in length (and, for example, Solaris m4 does not accept your example). - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksFREYACgkQ84KuGfSFAYBu9ACgluAP9s86jR3+JUDrGG1gzZ6g 9lEAoLtsPoxleObAWHjKXq9SRKka8wQc =r7tZ -----END PGP SIGNATURE-----