findutils-patches
[Top][All Lists]
Advanced

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

[PATCH] doc: Add missing actions from list that suppress default -print


From: raf
Subject: [PATCH] doc: Add missing actions from list that suppress default -print
Date: Mon, 25 Apr 2022 13:39:12 +1000

* find/find.1 (EXPRESSION): Add missing -print0 and -fprint0 to
the list of actions that suppress the default -print action.
* doc/find.texi (find Expressions): Add missing -print0 and
-fprint0 to the list of actions that suppress the default -print
action.
---
 NEWS          | 4 ++++
 doc/find.texi | 3 ++-
 find/find.1   | 6 ++++--
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index 6b8c3493..e8c1d9ea 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,10 @@ GNU findutils NEWS - User visible changes.      -*- outline 
-*- (allout)
   to match the root directory "/".  Previously, a diagnostic falsely claimed
   that this pattern would not match anything. [#62227]
 
+** Documentation Changes
+
+  Add (missing) '-print0' and '-fprint0' to the list of actions that suppress
+  the default -print action.
 
 * Noteworthy changes in release 4.9.0 (2022-02-22) [stable]
 
diff --git a/doc/find.texi b/doc/find.texi
index 1f295837..1cbdf076 100644
--- a/doc/find.texi
+++ b/doc/find.texi
@@ -333,7 +333,8 @@ expression contains an action other than @samp{-prune} or
 @samp{-quit}. Actions which inhibit the default @samp{-print} are
 @samp{-delete}, @samp{-exec}, @samp{-execdir}, @samp{-ok},
 @samp{-okdir}, @samp{-fls}, @samp{-fprint}, @samp{-fprintf},
-@samp{-ls}, @samp{-print} and @samp{-printf}.
+@samp{-fprint0}, @samp{-ls}, @samp{-print}, @samp{-printf} and
+@samp{-print0}.
 
 Options take effect immediately, rather than being evaluated for each
 file when their place in the expression is reached.  Therefore, for
diff --git a/find/find.1 b/find/find.1
index b3ec9753..af381b5e 100644
--- a/find/find.1
+++ b/find/find.1
@@ -391,10 +391,12 @@ are
 .BR \-fls ,
 .BR \-fprint ,
 .BR \-fprintf ,
+.BR \-fprint0 ,
 .BR \-ls ,
-.B \-print
+.BR \-print ,
+.B \-printf
 and
-.BR \-printf .
+.BR \-print0 .
 
 
 The
-- 
2.30.2




reply via email to

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