aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2023-06-21 20:58:50 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2023-06-21 20:59:03 +0000
commitdb4c5b8a05bbd54a00dad145a91902d71c1f92a1 (patch)
tree27ae83e72ae34836048c9bde722a2a171ccd0811
parent6c9ed64c94f192eda8c8b5e9e2b92ff93da36de2 (diff)
-rw-r--r--usr.bin/m4/m4.119
1 files changed, 14 insertions, 5 deletions
diff --git a/usr.bin/m4/m4.1 b/usr.bin/m4/m4.1
index e234cf201213..a4a6e759a258 100644
--- a/usr.bin/m4/m4.1
+++ b/usr.bin/m4/m4.1
@@ -155,19 +155,28 @@ flags are specified, execution will halt upon issuing the
first warning and
.Nm
will exit with a non-zero exit status.
-This behaviour matches GNU-m4 1.4.9 and later.
+This behaviour matches GNU m4 1.4.9 and later.
.It Fl G , Fl -traditional
Disable GNU compatibility mode (see
.Fl g
below).
.It Fl g , Fl -gnu
Enable GNU compatibility mode.
-In this mode, translit handles simple character
-ranges (e.g., a-z), regular expressions mimic emacs behavior,
-multiple m4wrap calls are handled as a stack,
+In this mode,
+.Ic translit
+handles simple character ranges (e.g.,
+.Sq a-z ) ,
+regular expressions mimic Emacs behavior,
+multiple
+.Ic m4wrap
+calls are handled as a stack,
the number of diversions is unlimited,
empty names for macro definitions are allowed,
-and eval understands
+.Ic undivert
+can be used to include files,
+and
+.Ic eval
+understands
.Sq 0rbase:value
numbers.
.It Fl I Ar dirname , Fl -include Ns = Ns Ar dirname