https://git.savannah.gnu.org/gitweb/?p=m4.git;a=patch;h=cd7f4d153ccccf601751e9fa82424412f6ecfc96 https://bugs.gentoo.org/808749 From cd7f4d153ccccf601751e9fa82424412f6ecfc96 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 1 Jun 2021 08:10:51 -0500 Subject: [PATCH] tests: Fix 198.sysval In my attempt to avoid test failures on Haiku, I caused test failures on platforms where sh is noisy when reporting a killed sub-process. * doc/m4.texi (Sysval): Avoid stderr noise during test. Fixes: 17011ea76a (tests: Skip signal detection on Haiku) Fixes: https://lists.gnu.org/archive/html/bug-m4/2021-05/msg00029.html --- doc/m4.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/m4.texi b/doc/m4.texi index 94ac851..3b833b2 100644 --- a/doc/m4.texi +++ b/doc/m4.texi @@ -6756,7 +6756,8 @@ ifdef(`__unix__', , ')m4exit(`77')')dnl changequote(`[', `]') @result{} -syscmd([/bin/sh -c 'kill -9 $$'; st=$?; test $st = 137 || test $st = 265]) +syscmd([@{ /bin/sh -c 'kill -9 $$'; @} 2>/dev/null; st=$?; +test $st = 137 || test $st = 265]) @result{} ifelse(sysval, [0], , [errprint([ skipping: shell does not send signal 9 ])m4exit([77])])dnl diff --git a/doc/version.texi b/doc/version.texi index 341ce42..effa529 100644 --- a/doc/version.texi +++ b/doc/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 28 May 2021 -@set UPDATED-MONTH May 2021 +@set UPDATED 7 February 2022 +@set UPDATED-MONTH February 2022 @set EDITION 1.4.19 @set VERSION 1.4.19 diff --git a/checks/198.sysval b/checks/198.sysval index 9be8381..5ebefa0 100644 --- a/checks/198.sysval +++ b/checks/198.sysval @@ -14,7 +14,8 @@ ifdef(`__unix__', , ')m4exit(`77')')dnl changequote(`[', `]') dnl @result{} -syscmd([/bin/sh -c 'kill -9 $$'; st=$?; test $st = 137 || test $st = 265]) +syscmd([{ /bin/sh -c 'kill -9 $$'; } 2>/dev/null; st=$?; +test $st = 137 || test $st = 265]) dnl @result{} ifelse(sysval, [0], , [errprint([ skipping: shell does not send signal 9 ])m4exit([77])])dnl diff --git a/checks/199.mkstemp b/checks/199.mkstemp index 3c1b135..ab325e9 100644 --- a/checks/199.mkstemp +++ b/checks/199.mkstemp @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:6851: Origin of test +dnl @ ../doc/m4.texi:6852: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/200.mkstemp b/checks/200.mkstemp index e01fa60..dd32c2d 100644 --- a/checks/200.mkstemp +++ b/checks/200.mkstemp @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:6882: Origin of test +dnl @ ../doc/m4.texi:6883: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/201.mkstemp b/checks/201.mkstemp index 1e5fa95..0953174 100644 --- a/checks/201.mkstemp +++ b/checks/201.mkstemp @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:6897: Origin of test +dnl @ ../doc/m4.texi:6898: Origin of test dnl @ expected status: 0 dnl @ extra options: -G dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/202.errprint b/checks/202.errprint index 55e8760..2875c64 100644 --- a/checks/202.errprint +++ b/checks/202.errprint @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:6943: Origin of test +dnl @ ../doc/m4.texi:6944: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/203.location b/checks/203.location index 6c02988..d416ba1 100644 --- a/checks/203.location +++ b/checks/203.location @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:6980: Origin of test +dnl @ ../doc/m4.texi:6981: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/204.location b/checks/204.location index e877d9e..e06e76e 100644 --- a/checks/204.location +++ b/checks/204.location @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7000: Origin of test +dnl @ ../doc/m4.texi:7001: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/205.location b/checks/205.location index bbc71ad..1dbb770 100644 --- a/checks/205.location +++ b/checks/205.location @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7021: Origin of test +dnl @ ../doc/m4.texi:7022: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/206.m4exit b/checks/206.m4exit index 4aa8602..bda134a 100644 --- a/checks/206.m4exit +++ b/checks/206.m4exit @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7078: Origin of test +dnl @ ../doc/m4.texi:7079: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/207.m4exit b/checks/207.m4exit index 8817824..a05a1f4 100644 --- a/checks/207.m4exit +++ b/checks/207.m4exit @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7096: Origin of test +dnl @ ../doc/m4.texi:7097: Origin of test dnl @ expected status: 1 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/208.using_froz b/checks/208.using_froz index c4830a9..bb0637e 100644 --- a/checks/208.using_froz +++ b/checks/208.using_froz @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7232: Origin of test +dnl @ ../doc/m4.texi:7233: Origin of test dnl @ expected status: 0 dnl @ extra options: -F /dev/null dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/209.using_froz b/checks/209.using_froz index 1863995..fa40031 100644 --- a/checks/209.using_froz +++ b/checks/209.using_froz @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7238: Origin of test +dnl @ ../doc/m4.texi:7239: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/210.using_froz b/checks/210.using_froz index a975051..7f40d9c 100644 --- a/checks/210.using_froz +++ b/checks/210.using_froz @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7258: Origin of test +dnl @ ../doc/m4.texi:7259: Origin of test dnl @ expected status: 1 dnl @ extra options: -F /none/such dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/211.extensions b/checks/211.extensions index fff999e..fa125a8 100644 --- a/checks/211.extensions +++ b/checks/211.extensions @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7394: Origin of test +dnl @ ../doc/m4.texi:7395: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/212.other_inco b/checks/212.other_inco index bcbebfc..3b38c26 100644 --- a/checks/212.other_inco +++ b/checks/212.other_inco @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7688: Origin of test +dnl @ ../doc/m4.texi:7689: Origin of test dnl @ expected status: 0 dnl @ extra options: -s dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/213.other_inco b/checks/213.other_inco index 617657c..acb6375 100644 --- a/checks/213.other_inco +++ b/checks/213.other_inco @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7713: Origin of test +dnl @ ../doc/m4.texi:7714: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/214.improved_e b/checks/214.improved_e index fd0232d..3ac89ef 100644 --- a/checks/214.improved_e +++ b/checks/214.improved_e @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7767: Origin of test +dnl @ ../doc/m4.texi:7768: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/215.improved_f b/checks/215.improved_f index 1d7882f..95e5619 100644 --- a/checks/215.improved_f +++ b/checks/215.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7789: Origin of test +dnl @ ../doc/m4.texi:7790: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/216.improved_f b/checks/216.improved_f index d82f8bd..b07bbfa 100644 --- a/checks/216.improved_f +++ b/checks/216.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7830: Origin of test +dnl @ ../doc/m4.texi:7831: Origin of test dnl @ expected status: 1 dnl @ extra options: -L9 dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/217.improved_f b/checks/217.improved_f index 7187b4a..a11e131 100644 --- a/checks/217.improved_f +++ b/checks/217.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7873: Origin of test +dnl @ ../doc/m4.texi:7874: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/218.improved_f b/checks/218.improved_f index 1b3da26..55d5074 100644 --- a/checks/218.improved_f +++ b/checks/218.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7924: Origin of test +dnl @ ../doc/m4.texi:7925: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/219.improved_f b/checks/219.improved_f index 24068ee..8672cb7 100644 --- a/checks/219.improved_f +++ b/checks/219.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:7966: Origin of test +dnl @ ../doc/m4.texi:7967: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/220.improved_f b/checks/220.improved_f index a018e78..fc3d190 100644 --- a/checks/220.improved_f +++ b/checks/220.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8019: Origin of test +dnl @ ../doc/m4.texi:8020: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/221.improved_f b/checks/221.improved_f index bfa57bc..9ff37e9 100644 --- a/checks/221.improved_f +++ b/checks/221.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8106: Origin of test +dnl @ ../doc/m4.texi:8107: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/222.improved_f b/checks/222.improved_f index ff2f7dc..70407ad 100644 --- a/checks/222.improved_f +++ b/checks/222.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8142: Origin of test +dnl @ ../doc/m4.texi:8143: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/223.improved_f b/checks/223.improved_f index cacd476..5ee81ed 100644 --- a/checks/223.improved_f +++ b/checks/223.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8196: Origin of test +dnl @ ../doc/m4.texi:8197: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/224.improved_f b/checks/224.improved_f index 8542b5b..5be2ea8 100644 --- a/checks/224.improved_f +++ b/checks/224.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8277: Origin of test +dnl @ ../doc/m4.texi:8278: Origin of test dnl @ expected status: 0 dnl @ extra options: -Dlimit=10 -Dverbose dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/225.improved_f b/checks/225.improved_f index ec5f85c..cff0b70 100644 --- a/checks/225.improved_f +++ b/checks/225.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8287: Origin of test +dnl @ ../doc/m4.texi:8288: Origin of test dnl @ expected status: 0 dnl @ extra options: -Dlimit=10 -Dverbose -Dalt dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/226.improved_f b/checks/226.improved_f index ef9ca4b..5fe9efa 100644 --- a/checks/226.improved_f +++ b/checks/226.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8297: Origin of test +dnl @ ../doc/m4.texi:8298: Origin of test dnl @ expected status: 0 dnl @ extra options: -Dlimit=10 -Dverbose -Dalt=4 dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/227.improved_f b/checks/227.improved_f index f1cee0f..0500f98 100644 --- a/checks/227.improved_f +++ b/checks/227.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8305: Origin of test +dnl @ ../doc/m4.texi:8306: Origin of test dnl @ expected status: 0 dnl @ extra options: -Dlimit=2500 -Dalt=4 dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/228.improved_f b/checks/228.improved_f index ba7bc32..4db2d6e 100644 --- a/checks/228.improved_f +++ b/checks/228.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8312: Origin of test +dnl @ ../doc/m4.texi:8313: Origin of test dnl @ expected status: 0 dnl @ extra options: -Dlimit=10000 -Dalt=4 dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/229.improved_c b/checks/229.improved_c index 2ef10bc..ce9de2f 100644 --- a/checks/229.improved_c +++ b/checks/229.improved_c @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8375: Origin of test +dnl @ ../doc/m4.texi:8376: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/230.improved_c b/checks/230.improved_c index a1e7137..0b85c41 100644 --- a/checks/230.improved_c +++ b/checks/230.improved_c @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8421: Origin of test +dnl @ ../doc/m4.texi:8422: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/231.improved_m b/checks/231.improved_m index 41075b8..fac272a 100644 --- a/checks/231.improved_m +++ b/checks/231.improved_m @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8444: Origin of test +dnl @ ../doc/m4.texi:8445: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/232.improved_m b/checks/232.improved_m index 975b32d..9126230 100644 --- a/checks/232.improved_m +++ b/checks/232.improved_m @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8477: Origin of test +dnl @ ../doc/m4.texi:8478: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/233.improved_c b/checks/233.improved_c index 0a09f65..b6a6ca2 100644 --- a/checks/233.improved_c +++ b/checks/233.improved_c @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8513: Origin of test +dnl @ ../doc/m4.texi:8514: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/234.improved_c b/checks/234.improved_c index 2a5ebd6..e8587d1 100644 --- a/checks/234.improved_c +++ b/checks/234.improved_c @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8549: Origin of test +dnl @ ../doc/m4.texi:8550: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/235.improved_c b/checks/235.improved_c index 291c6f6..888c482 100644 --- a/checks/235.improved_c +++ b/checks/235.improved_c @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8626: Origin of test +dnl @ ../doc/m4.texi:8627: Origin of test dnl @ expected status: 0 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/checks/236.improved_f b/checks/236.improved_f index fc68473..c2eb6a5 100644 --- a/checks/236.improved_f +++ b/checks/236.improved_f @@ -1,4 +1,4 @@ -dnl @ ../doc/m4.texi:8670: Origin of test +dnl @ ../doc/m4.texi:8671: Origin of test dnl @ expected status: 1 dnl @ extra options: dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software diff --git a/doc/m4.info b/doc/m4.info index 7e33514..61b9446 100644 --- a/doc/m4.info +++ b/doc/m4.info @@ -1,6 +1,6 @@ -This is m4.info, produced by makeinfo version 6.7 from m4.texi. +This is m4.info, produced by makeinfo version 6.8 from m4.texi. -This manual (28 May 2021) is for GNU M4 (version 1.4.19), a package +This manual (7 February 2022) is for GNU M4 (version 1.4.19), a package containing an implementation of the m4 macro language. Copyright © 1989–1994, 2004–2014, 2016–2017, 2020–2021 Free Software @@ -19,117 +19,117 @@ END-INFO-DIR-ENTRY  Indirect: -m4.info-1: 840 -m4.info-2: 310227 +m4.info-1: 844 +m4.info-2: 310219  Tag Table: (Indirect) -Node: Top840 -Node: Preliminaries9797 -Node: Intro10503 -Node: History12194 -Node: Bugs16281 -Node: Manual17556 -Node: Invoking m421066 -Node: Operation modes23270 -Node: Preprocessor features26369 -Node: Limits control29539 -Node: Frozen state33550 -Node: Debugging options34389 -Node: Command line files36441 -Node: Syntax38092 -Node: Names39247 -Node: Quoted strings39729 -Node: Comments40396 -Node: Other tokens41300 -Node: Input processing41894 -Ref: Input processing-Footnote-150337 -Node: Macros50534 -Node: Invocation51028 -Node: Inhibiting Invocation51829 -Node: Macro Arguments56077 -Node: Quoting Arguments59199 -Node: Macro expansion61339 -Node: Definitions62059 -Node: Define62844 -Node: Arguments65365 -Node: Pseudo Arguments69132 -Node: Undefine72762 -Node: Defn73924 -Node: Pushdef78479 -Node: Indir81221 -Node: Builtin83393 -Node: Conditionals85669 -Node: Ifdef86615 -Node: Ifelse87498 -Node: Shift90887 -Node: Forloop101719 -Node: Foreach104402 -Node: Stacks110026 -Node: Composition113163 -Node: Debugging119258 -Node: Dumpdef119851 -Node: Trace121223 -Node: Debug Levels124877 -Node: Debug Output129752 -Node: Input Control131066 -Node: Dnl131607 -Node: Changequote133553 -Node: Changecom139947 -Node: Changeword143840 -Node: M4wrap149443 -Node: File Inclusion153534 -Node: Include153855 -Node: Search Path156674 -Node: Diversions157623 -Node: Divert159332 -Node: Undivert161905 -Node: Divnum165291 -Node: Cleardivert165764 -Node: Text handling166986 -Node: Len167713 -Node: Index macro168108 -Node: Regexp169002 -Node: Substr171590 -Node: Translit172649 -Node: Patsubst175449 -Node: Format180080 -Node: Arithmetic183491 -Node: Incr183944 -Node: Eval184739 -Node: Shell commands192948 -Node: Platform macros193886 -Node: Syscmd196088 -Node: Esyscmd198464 -Node: Sysval200048 -Node: Mkstemp201993 -Node: Miscellaneous206052 -Node: Errprint206489 -Node: Location207742 -Node: M4exit210623 -Node: Frozen files212757 -Node: Using frozen files213557 -Node: Frozen file format216938 -Node: Compatibility220088 -Node: Extensions221170 -Node: Incompatibilities225224 -Node: Other Incompatibilities234528 -Node: Answers237258 -Node: Improved exch238072 -Node: Improved forloop238625 -Node: Improved foreach244081 -Node: Improved copy257459 -Node: Improved m4wrap261518 -Node: Improved cleardivert264014 -Node: Improved capitalize265012 -Node: Improved fatal_error270048 -Node: Copying This Package271145 -Node: GNU General Public License271624 -Node: Copying This Manual310227 -Node: GNU Free Documentation License310751 -Node: Indices336068 -Node: Macro index336352 -Node: Concept index342743 +Node: Top844 +Node: Preliminaries9805 +Node: Intro10511 +Node: History12202 +Node: Bugs16289 +Node: Manual17564 +Node: Invoking m421068 +Node: Operation modes23272 +Node: Preprocessor features26371 +Node: Limits control29541 +Node: Frozen state33552 +Node: Debugging options34391 +Node: Command line files36443 +Node: Syntax38094 +Node: Names39249 +Node: Quoted strings39731 +Node: Comments40398 +Node: Other tokens41302 +Node: Input processing41896 +Ref: Input processing-Footnote-150339 +Node: Macros50536 +Node: Invocation51030 +Node: Inhibiting Invocation51831 +Node: Macro Arguments56079 +Node: Quoting Arguments59201 +Node: Macro expansion61341 +Node: Definitions62061 +Node: Define62846 +Node: Arguments65367 +Node: Pseudo Arguments69134 +Node: Undefine72764 +Node: Defn73926 +Node: Pushdef78481 +Node: Indir81223 +Node: Builtin83395 +Node: Conditionals85671 +Node: Ifdef86617 +Node: Ifelse87500 +Node: Shift90889 +Node: Forloop101721 +Node: Foreach104404 +Node: Stacks110028 +Node: Composition113165 +Node: Debugging119260 +Node: Dumpdef119853 +Node: Trace121225 +Node: Debug Levels124879 +Node: Debug Output129754 +Node: Input Control131068 +Node: Dnl131609 +Node: Changequote133555 +Node: Changecom139937 +Node: Changeword143824 +Node: M4wrap149427 +Node: File Inclusion153518 +Node: Include153839 +Node: Search Path156658 +Node: Diversions157607 +Node: Divert159316 +Node: Undivert161883 +Node: Divnum165269 +Node: Cleardivert165742 +Node: Text handling166964 +Node: Len167691 +Node: Index macro168086 +Node: Regexp168980 +Node: Substr171568 +Node: Translit172627 +Node: Patsubst175427 +Node: Format180058 +Node: Arithmetic183469 +Node: Incr183922 +Node: Eval184717 +Node: Shell commands192920 +Node: Platform macros193858 +Node: Syscmd196060 +Node: Esyscmd198436 +Node: Sysval200020 +Node: Mkstemp201987 +Node: Miscellaneous206046 +Node: Errprint206483 +Node: Location207736 +Node: M4exit210617 +Node: Frozen files212745 +Node: Using frozen files213545 +Node: Frozen file format216926 +Node: Compatibility220076 +Node: Extensions221158 +Node: Incompatibilities225212 +Node: Other Incompatibilities234516 +Node: Answers237246 +Node: Improved exch238060 +Node: Improved forloop238613 +Node: Improved foreach244069 +Node: Improved copy257447 +Node: Improved m4wrap261506 +Node: Improved cleardivert264002 +Node: Improved capitalize265000 +Node: Improved fatal_error270036 +Node: Copying This Package271133 +Node: GNU General Public License271612 +Node: Copying This Manual310219 +Node: GNU Free Documentation License310743 +Node: Indices336060 +Node: Macro index336344 +Node: Concept index342735  End Tag Table diff --git a/doc/m4.info-1 b/doc/m4.info-1 index ec6d71f..0f1d6ec 100644 --- a/doc/m4.info-1 +++ b/doc/m4.info-1 @@ -1,6 +1,6 @@ -This is m4.info, produced by makeinfo version 6.7 from m4.texi. +This is m4.info, produced by makeinfo version 6.8 from m4.texi. -This manual (28 May 2021) is for GNU M4 (version 1.4.19), a package +This manual (7 February 2022) is for GNU M4 (version 1.4.19), a package containing an implementation of the m4 macro language. Copyright © 1989–1994, 2004–2014, 2016–2017, 2020–2021 Free Software @@ -23,7 +23,7 @@ File: m4.info, Node: Top, Next: Preliminaries, Up: (dir) GNU M4 ****** -This manual (28 May 2021) is for GNU M4 (version 1.4.19), a package +This manual (7 February 2022) is for GNU M4 (version 1.4.19), a package containing an implementation of the m4 macro language. Copyright © 1989–1994, 2004–2014, 2016–2017, 2020–2021 Free Software @@ -437,7 +437,7 @@ find it helpful to do this now: call of the macro will be shown, giving descriptive names to the arguments, e.g., - -- Composite: example (STRING, [COUNT = ‘1’], [ARGUMENT]...) + -- Composite: example (STRING, [COUNT = 1], [ARGUMENT]...) This is a sample prototype. There is not really a macro named ‘example’, but this documents that if there were, it would be a Composite macro, rather than a Builtin. It requires at least one @@ -3498,7 +3498,7 @@ File: m4.info, Node: Changequote, Next: Changecom, Prev: Dnl, Up: Input Cont The default quote delimiters can be changed with the builtin ‘changequote’: - -- Builtin: changequote ([START = ‘`’], [END = ‘'’]) + -- Builtin: changequote ([START = `], [END = ']) This sets START as the new begin-quote delimiter and END as the new end-quote delimiter. If both arguments are missing, the default quotes (‘`’ and ‘'’) are used. If START is void, then quoting is @@ -3703,7 +3703,7 @@ File: m4.info, Node: Changecom, Next: Changeword, Prev: Changequote, Up: Inp The default comment delimiters can be changed with the builtin macro ‘changecom’: - -- Builtin: changecom ([START], [END = ‘’]) + -- Builtin: changecom ([START], [END = ]) This sets START as the new begin-comment delimiter and END as the new end-comment delimiter. If both arguments are missing, or START is void, then comments are disabled. Otherwise, if END is missing @@ -4265,7 +4265,7 @@ File: m4.info, Node: Divert, Next: Undivert, Up: Diversions Output is diverted using ‘divert’: - -- Builtin: divert ([NUMBER = ‘0’]) + -- Builtin: divert ([NUMBER = 0]) The current diversion is changed to NUMBER. If NUMBER is left out or empty, it is assumed to be zero. If NUMBER cannot be parsed, the diversion is unchanged. @@ -5001,7 +5001,7 @@ File: m4.info, Node: Eval, Prev: Incr, Up: Arithmetic Integer expressions are evaluated with ‘eval’: - -- Builtin: eval (EXPRESSION, [RADIX = ‘10’], [WIDTH]) + -- Builtin: eval (EXPRESSION, [RADIX = 10], [WIDTH]) Expands to the value of EXPRESSION. The expansion is empty if a problem is encountered while parsing the arguments. If specified, RADIX and WIDTH control the format of the output. @@ -5479,7 +5479,8 @@ result is the signal number shifted left by eight bits. ')m4exit(`77')')dnl changequote(`[', `]') ⇒ - syscmd([/bin/sh -c 'kill -9 $$'; st=$?; test $st = 137 || test $st = 265]) + syscmd([{ /bin/sh -c 'kill -9 $$'; } 2>/dev/null; st=$?; + test $st = 137 || test $st = 265]) ⇒ ifelse(sysval, [0], , [errprint([ skipping: shell does not send signal 9 ])m4exit([77])])dnl @@ -5738,7 +5739,7 @@ File: m4.info, Node: M4exit, Prev: Location, Up: Miscellaneous If you need to exit from ‘m4’ before the entire input has been read, you can use ‘m4exit’: - -- Builtin: m4exit ([CODE = ‘0’]) + -- Builtin: m4exit ([CODE = 0]) Causes ‘m4’ to exit, with exit status CODE. If CODE is left out, the exit status is zero. If CODE cannot be parsed, or is outside the range of 0 to 255, the exit status is one. No further input is diff --git a/doc/m4.info-2 b/doc/m4.info-2 index 75442a2..1cecebf 100644 --- a/doc/m4.info-2 +++ b/doc/m4.info-2 @@ -1,6 +1,6 @@ -This is m4.info, produced by makeinfo version 6.7 from m4.texi. +This is m4.info, produced by makeinfo version 6.8 from m4.texi. -This manual (28 May 2021) is for GNU M4 (version 1.4.19), a package +This manual (7 February 2022) is for GNU M4 (version 1.4.19), a package containing an implementation of the m4 macro language. Copyright © 1989–1994, 2004–2014, 2016–2017, 2020–2021 Free Software @@ -638,7 +638,7 @@ C.2 Index for many concepts * arguments, joining: Shift. (line 99) * arguments, more than nine: Arguments. (line 54) * arguments, more than nine <1>: Shift. (line 251) -* arguments, more than nine <2>: Improved foreach. (line 157) +* arguments, more than nine <2>: Improved foreach. (line 155) * arguments, quoted macro: Quoting Arguments. (line 6) * arguments, reversing: Shift. (line 31) * arithmetic: Arithmetic. (line 6) @@ -831,13 +831,13 @@ C.2 Index for many concepts * messages, printing error: Errprint. (line 6) * more than nine arguments: Arguments. (line 54) * more than nine arguments <1>: Shift. (line 251) -* more than nine arguments <2>: Improved foreach. (line 157) +* more than nine arguments <2>: Improved foreach. (line 155) * multibranches: Ifelse. (line 69) * names: Names. (line 6) * nesting limit: Limits control. (line 43) * nine arguments, more than: Arguments. (line 54) * nine arguments, more than <1>: Shift. (line 251) -* nine arguments, more than <2>: Improved foreach. (line 157) +* nine arguments, more than <2>: Improved foreach. (line 155) * numbers: Manual. (line 57) * options, command line: Invoking m4. (line 10) * output, diverting to files: Divert. (line 6) diff --git a/doc/stamp-vti b/doc/stamp-vti index 341ce42..effa529 100644 --- a/doc/stamp-vti +++ b/doc/stamp-vti @@ -1,4 +1,4 @@ -@set UPDATED 28 May 2021 -@set UPDATED-MONTH May 2021 +@set UPDATED 7 February 2022 +@set UPDATED-MONTH February 2022 @set EDITION 1.4.19 @set VERSION 1.4.19