git: ac8517f04c0f - stable/13 - find: Correct ls(1) equivalent command for -ls primary
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Dec 2024 04:58:12 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=ac8517f04c0fe31968ed43e36608ad02d72d3597
commit ac8517f04c0fe31968ed43e36608ad02d72d3597
Author: Thomas Eberhardt <sneakywumpus@gmail.com>
AuthorDate: 2024-11-23 16:45:27 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-11-30 21:54:18 +0000
find: Correct ls(1) equivalent command for -ls primary
After commit 3bfbb521fef5, -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.
The ls(1) change hasn't been merged to stable/13, but the -g is still
a no-op on stable/13 so the updated docs here are still correct and
more future-proof.
(cherry picked from commit b4ede68c21c6c0277bc283c2bda35f3136e836b6)
---
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 def6a82d0a97..c10380ac499a 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -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