git: 3581b6db62b1 - main - find.1: fix rendering of find -s example
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Sep 2026 01:25:43 UTC
The branch main has been updated by rlibby:
URL: https://cgit.FreeBSD.org/src/commit/?id=3581b6db62b1a2146014b3196f18bde3fc33010d
commit 3581b6db62b1a2146014b3196f18bde3fc33010d
Author: Ryan Libby <rlibby@FreeBSD.org>
AuthorDate: 2026-09-05 22:44:34 +0000
Commit: Ryan Libby <rlibby@FreeBSD.org>
CommitDate: 2026-09-06 00:58:36 +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
---
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