git: 50bc1b8ce789 - stable/15 - find.1: fix rendering of find -s example
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Oct 2026 11:07:17 UTC
The branch stable/15 has been updated by wosch:
URL: https://cgit.FreeBSD.org/src/commit/?id=50bc1b8ce7893b4027554a85318ae63098140338
commit 50bc1b8ce7893b4027554a85318ae63098140338
Author: Ryan Libby <rlibby@FreeBSD.org>
AuthorDate: 2026-09-05 22:44:34 +0000
Commit: Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2026-10-26 11:05:56 +0000
find.1: fix rendering of find -s example
The period here is part of the literal string in the example. Adding a
space caused the example to be quoted wrongly. Instead, a trailing
zero-width space keeps the linter mandoc -T happy.
Reviewed by: ziaee
Differential Revision: https://reviews.freebsd.org/D59353
(cherry picked from commit 3581b6db62b1a2146014b3196f18bde3fc33010d)
---
usr.bin/find/find.1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index afe10a36607d..d3929bcb1807 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -161,11 +161,11 @@ For example,
puts a directory
.Ql Ar foo
with all its contents before a directory
-.Ql Ar foo .
+.Ql Ar foo.\&
but
.Ql "find | sort"
puts the directory name
-.Ql Ar foo .
+.Ql Ar foo.\&
before any string like
.Ql Ar foo/bar
because