From 2dc03fd8b1cd6dc8af9505a02957a3ee2f2ef39f Mon Sep 17 00:00:00 2001 From: jay Date: Mon, 16 Jun 2003 13:51:26 +0000 Subject: [PATCH] Applied Savannah patch #1547 (document the fact that printf field-width specifiers are supported). --- doc/find.texi | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/find.texi b/doc/find.texi index ef4630e..2b2491c 100644 --- a/doc/find.texi +++ b/doc/find.texi @@ -1075,13 +1075,16 @@ printed to the standard error output (because it was probably a typo). @subsection Format Directives @samp{-printf} and @samp{-fprintf} support the following format -directives to print information about the file being processed. Unlike -the C @code{printf} function, they do not support field width specifiers. +directives to print information about the file being processed. +The C @code{printf} function, field width and precision specifiers +are supported, as applied to string (%s) types. I.E. you can specify +"minimum field width"."maximum field width" for each directive. @samp{%%} is a literal percent sign. A @samp{%} character followed by -any other character is discarded (but the other character is printed), -and a warning message is printed to the standard error output (because -it was probably a typo). +an unrecognised character (i.e. not a known directive or printf field +width and precision specifier), is discarded (but the unrecognised character +is printed), and a warning message is printed to the standard error output +(because it was probably a typo). @menu * Name Directives:: -- 2.11.4.GIT