From db4c5b8a05bbd54a00dad145a91902d71c1f92a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 21 Jun 2023 20:58:50 +0000 Subject: [PATCH] m4: Miscellaneous man page fixes. Sponsored by: Klara, Inc. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D40701 --- usr.bin/m4/m4.1 | 19 ++++++++++++++----- 1 file 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