Package: m4
Version: 1.4.2
m4 outputs quotes if ` is used in the quote string. For example:
m4_define(SERIAL_ )m4_dnl
m4_changequote(`","')m4_dnl
m4_ifdef( MODEM_ ,
`"Modem selected"')
m4_ifdef( SERIAL_ ,
`"Serial selected"')
The above gives the following output from m4 --prefix-builtins my_file:
`"Serial selected"'
It should output without any quotes like this:
Serial selected
The following quote string pairs also output with quotes like above:
`" "'
`[ ]'
"` '"
The following pairs give the error message: ... ERROR EOF in string
`$ `%
`` ^^
`% "^
`ab %"
Using a number of pairs (non alpha-numberic) without any ` worked OK.
PS: I wrote the above years ago but don't think I submitted it.
David Lawyer
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]