Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2021 08:13:36 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 82483ea7adfe - main - find(1): Document the -f option
Message-ID:  <202105130813.14D8Da83042387@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=82483ea7adfe4213059f6dacf31f3bd1327b2cc0

commit 82483ea7adfe4213059f6dacf31f3bd1327b2cc0
Author:     Ceri Davies <ceri@FreeBSD.org>
AuthorDate: 2021-05-13 08:10:22 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-05-13 08:10:22 +0000

    find(1): Document the -f option
    
    PR:     223127
    Reported by:    Mathieu Arnold <mat at FreeBSD dot org>
    Reviewed by:    bcr, gbe
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D30215
---
 usr.bin/find/find.1 | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 0c5c113479a3..8bc9f9d69604 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -31,7 +31,7 @@
 .\"	@(#)find.1	8.7 (Berkeley) 5/9/95
 .\" $FreeBSD$
 .\"
-.Dd March 13, 2021
+.Dd May 13, 2021
 .Dt FIND 1
 .Os
 .Sh NAME
@@ -135,6 +135,19 @@ primary specified by
 Refer to its description under
 .Sx PRIMARIES
 for more information.
+.It Fl f Ar path
+Add
+.Ar path
+to the list of paths that will be recursed into.
+This is useful when
+.Ar path
+begins with a character that would otherwise be interpreted as an
+.Ar expression ,
+namely
+.Dq Li "!" ,
+.Dq Li "("
+and
+.Dq Li - .
 .It Fl s
 Cause
 .Nm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105130813.14D8Da83042387>