find: Correct ls(1) equivalent command for -ls primary

After commit 3bfbb521fe, -g stopped being a no-op.  The -g hasn't
been required for equivalent output since 4.4BSD.

PR:		282901
Fixes:		3bfbb521 ls: Improve POSIX compatibility for -g and -n.

(cherry picked from commit b4ede68c21)
This commit is contained in:
Thomas Eberhardt 2024-11-23 11:45:27 -05:00 committed by John Baldwin
parent d531466822
commit 4ec46a286b

View file

@ -30,7 +30,7 @@
.\"
.\" @(#)find.1 8.7 (Berkeley) 5/9/95
.\"
.Dd January 21, 2024
.Dd November 23, 2024
.Dt FIND 1
.Os
.Sh NAME
@ -602,7 +602,7 @@ displayed preceded by
.Dq Li -> .
The format is identical to that produced by
.Bk -words
.Dq Nm ls Fl dgils .
.Dq Nm ls Fl dils .
.Ek
.It Ic -maxdepth Ar n
Always true; descend at most