[Top][All Lists]

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

divert(-1) does not work in argument

From: Enshan Wang
Subject: divert(-1) does not work in argument
Date: Mon, 18 Nov 2019 20:13:37 +0000

enswan@ws/bin$ m4 <<<'changequote()changequote([,])divert(-1)good[]divert[]show'


enswan@ws/bin$ m4 <<<'changequote()changequote([,])include(divert(-1)good[]divert[]show)'

m4:stdin:1: cannot open `goodshow': No such file or directory


Maybe it’s not a bug, but I think the 2nd m4 call should show that `show’: No such file or directory.

Looks include call still see the `good’ which I want to divert to -1 i.e. it should be discarded.


My version is 1.4.18. I did not try 1.6 version of m4. (BTW what’s the status of m4 1.6? should I use m4 1.6 or 1.4…?)


$ m4 --version

m4 (GNU M4) 1.4.18



CONFIDENTIALITY AND PRIVACY NOTICE: This e-mail and any attachments are for the exclusive and confidential use of the intended recipient and may constitute non-public information.  Personal data in this email is governed by our Privacy Policy at  http://business.nasdaq.com/privacy-statement  unless explicitly excluded from it; please see the section in the policy entitled “Situations Where This Privacy Policy Does Not Apply” for circumstances where different privacy terms govern emailed personal data.  If you received this e-mail in error, disclosing, copying, distributing or taking any action in reliance of this e-mail is strictly prohibited and may be unlawful. Instead, please notify us immediately by return e-mail and promptly delete this message and its attachments from your computer system. We do not waive any work product or other applicable legal privilege(s) by the transmission of this message.

reply via email to

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