git: c2d2160b2b02 - stable/12 - find.1: Fix mandoc warnings and mention a useful manpage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Aug 2022 05:00:28 UTC
The branch stable/12 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=c2d2160b2b02e1667ee78ea315ec0e4be08e0585
commit c2d2160b2b02e1667ee78ea315ec0e4be08e0585
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-07-31 14:38:10 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-08-05 05:00:10 +0000
find.1: Fix mandoc warnings and mention a useful manpage
- new sentence, new line
- unknown AT&T UNIX version: At v7
- no blank before trailing delimiter
- reference the ASCII(8) manual page
(cherry picked from commit 321dc6ee7e81e1b06db725f218db08a8aca47d31)
---
usr.bin/find/find.1 | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index dcf67152211c..410131028a5d 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -164,18 +164,20 @@ 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
.Ql .\&
goes before
.Ql /
-in ASCII. In locales other than
+in
+.Xr ASCII 8 .
+In locales other than
.Ar C
results may vary more due to collation differences.
.It Fl x
@@ -796,7 +798,7 @@ is specified, the given expression shall be effectively replaced by
.It Ic -print0
This primary always evaluates to true.
It prints the pathname of the current file to standard output, followed by an
-.Tn ASCII
+.Xr ASCII 8
.Dv NUL
character (character code 0).
.It Ic -prune
@@ -1114,7 +1116,7 @@ It was rewritten for
.At v5
and later be enhanced for the Programmer's Workbench (PWB).
These changes were later incorporated in
-.At v7.
+.At v7 .
.Sh BUGS
The special characters used by
.Nm