diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2008-08-21 21:02:29 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2008-08-21 21:02:29 +0000 |
commit | 441856b2cb1fd8bcd891065a4789114afb82f181 (patch) | |
tree | b48fa7b3b674d877ec6a7e0455e5b97a93d51164 /usr.bin | |
parent | 250edc70bc8d65e93320f57d842e5ead13125dc3 (diff) |
Document new gnu extensions, okay jmc@, otto@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/m4/m4.1 | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/usr.bin/m4/m4.1 b/usr.bin/m4/m4.1 index 45e7803677c..46c99d0d424 100644 --- a/usr.bin/m4/m4.1 +++ b/usr.bin/m4/m4.1 @@ -1,4 +1,4 @@ -.\" @(#) $OpenBSD: m4.1,v 1.52 2008/08/16 12:26:07 espie Exp $ +.\" @(#) $OpenBSD: m4.1,v 1.53 2008/08/21 21:02:28 espie Exp $ .\" .\" Copyright (c) 1989, 1993 .\" The Regents of the University of California. All rights reserved. @@ -30,7 +30,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: August 16 2008 $ +.Dd $Mdocdate: August 21 2008 $ .Dt M4 1 .Os .Sh NAME @@ -138,7 +138,11 @@ Activate GNU-m4 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, -and the number of diversions is unlimited. +the number of diversions is unlimited, +empty names for macro definitions are allowed, +and eval understands +.Sq 0rbase:value +numbers. .It Fl I Ar "dirname" Add directory .Ar dirname @@ -268,9 +272,10 @@ with escape sequences substituted with .Fa arg1 and following arguments, in a way similar to .Xr printf 3 . -This built-in is only available in GNU-m4 compatibility mode, and the -left-padding flag, an optional field width and the %s data type -are the only supported parameters. +This built-in is only available in GNU-m4 compatibility mode, and the only +parameters implemented are there for autoconf compatibility: +left-padding flag, an optional field width, a maximum field width, +*-specified field widths, and the %s and %c data type. .It Fn ifdef name yes no If the macro named by the first argument is defined then return the second argument, otherwise the third. |