m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/doc/m4.texinfo,v [branch-1_4]


From: Eric Blake
Subject: Changes to m4/doc/m4.texinfo,v [branch-1_4]
Date: Fri, 30 Jun 2006 03:38:50 +0000

CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch-1_4
Changes by:     Eric Blake <ericb>      06/06/30 03:38:49

Index: doc/m4.texinfo
===================================================================
RCS file: /sources/m4/m4/doc/m4.texinfo,v
retrieving revision 1.1.1.1.2.26
retrieving revision 1.1.1.1.2.27
diff -u -b -r1.1.1.1.2.26 -r1.1.1.1.2.27
--- doc/m4.texinfo      27 Jun 2006 13:31:44 -0000      1.1.1.1.2.26
+++ doc/m4.texinfo      30 Jun 2006 03:38:49 -0000      1.1.1.1.2.27
@@ -2968,6 +2968,10 @@
 @result{}
 format(`The string "%s" uses %d characters', foo, len(foo))
 @result{}The string "The brown fox jumped over the lazy dog" uses 38 characters
+format(`%.0f', `56789.9876')
address@hidden
+len(format(`%-*X', `300', `1'))
address@hidden
 @end example
 
 Using the @code{forloop} macro defined in @xref{Loops}, this
@@ -2997,6 +3001,10 @@
 @samp{l}.  For more details on the functioning of @code{printf}, see the
 C Library Manual.
 
+For now, unrecognized specifiers are silently ignored, but it is
+anticipated that a future release of GNU @code{m4} will support more
+specifiers, and give warnings when problems are encountered.
+
 The macro @code{format} is recognized only with parameters.
 
 @node Arithmetic, UNIX commands, Text handling, Top




reply via email to

[Prev in Thread] Current Thread [Next in Thread]