=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/m4/m4.1,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/m4/m4.1 2000/03/11 15:54:44 1.11 +++ src/usr.bin/m4/m4.1 2000/03/18 01:06:55 1.12 @@ -1,4 +1,4 @@ -.\" @(#) $OpenBSD: m4.1,v 1.11 2000/03/11 15:54:44 espie Exp $ +.\" @(#) $OpenBSD: m4.1,v 1.12 2000/03/18 01:06:55 espie Exp $ .\" .\" .Dd January 26, 1993 @@ -9,6 +9,7 @@ .Nd macro language processor .Sh SYNOPSIS .Nm m4 +.Op Fl g .Oo .Fl D Ns Ar name Ns Op Ar =value .Oc @@ -46,7 +47,7 @@ .Ic changequote built-in macro. .Pp -Some built-ins don't make any sense without arguments, and hence are not +Most built-ins don't make any sense without arguments, and hence are not recognized as special when not followed by an open parenthesis. .Pp The options are as follows: @@ -65,6 +66,10 @@ Add directory .Ar dirname to the include path. +.It Fl g +Activate GNU-m4 compatibility mode. In this mode, changequote with +two empty parameters deactivates quotes, translit handles simple character +ranges (e.g., a-z) and regular expressions mimic emacs behavior. .Sh SYNTAX .Nm m4 provides the following built-in macros.