=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/m4/m4.1,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- src/usr.bin/m4/m4.1 2007/05/31 19:20:12 1.50 +++ src/usr.bin/m4/m4.1 2008/08/16 12:21:46 1.51 @@ -1,4 +1,4 @@ -.\" @(#) $OpenBSD: m4.1,v 1.50 2007/05/31 19:20:12 jmc Exp $ +.\" @(#) $OpenBSD: m4.1,v 1.51 2008/08/16 12:21:46 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: May 31 2007 $ +.Dd $Mdocdate: August 16 2008 $ .Dt M4 1 .Os .Sh NAME @@ -138,7 +138,11 @@ 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,9 @@ .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.