commit f63f0d7cdfdaa8bf8b6ff5e10fafb75c0f53ffb0
parent 6b802ab9fd967e2478a29a583521a13fb91aef57
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 31 Jul 2025 15:29:21 +0200
find.1: document -print0 option
Patch below:
From 257957e533fa2d7d30845e11bf3fa0559d6ae66b Mon Sep 17 00:00:00 2001
From: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 31 Jul 2025 14:26:23 +0200
Subject: [PATCH 1/4] find.1: document -print0 option and improve wording of
-print
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/find.1 b/find.1
@@ -1,4 +1,4 @@
-.Dd October 8, 2015
+.Dd July 30, 2025
.Dt FIND 1
.Os sbase
.Sh NAME
@@ -113,7 +113,10 @@ True if the user responds yes and cmd exits with status 0, false
otherwise.
.It Fl print
True.
-Print the path to the current file.
+Print the current pathname followed by a newline ('\en') character.
+.It Fl print0
+True.
+Print the current pathname followed by a NUL ('\e0') character.
.It Fl newer Ar file
True if the modification time of the current file is newer than that of
the provided file.