Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2002 19:54:28 +1000
From:      Joshua Goodall <joshua@roughtrade.net>
To:        docs@freebsd.org
Cc:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   Re: docs/36602: find.1 should encourage users to DTRT when piping to xargs
Message-ID:  <20020401095428.GE30787@roughtrade.net>
In-Reply-To: <wnn0wnal1w.0wn@localhost.localdomain>
References:  <20020401035025.138C83E2C@green.shallow.net> <wnn0wnal1w.0wn@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 01, 2002 at 12:18:51AM -0800, Gary W. Swearingen wrote:
> You might want to also slip xargs(1) into the "See Also" section before
> someone writes a PR on it.  Its seems to be common (but debated)
> practice to Also See all of the commands mentioned in other sections.

indeed. xargs is relevant to find in any case; find | xargs is
a common pattern.

Index: find.1
===================================================================
RCS file: /cvs/src/usr.bin/find/find.1,v
retrieving revision 1.41
diff -u -r1.41 find.1
--- find.1	20 Nov 2001 15:45:29 -0000	1.41
+++ find.1	1 Apr 2002 09:47:38 -0000
@@ -117,6 +117,12 @@
 quotes, backslash
 .Pq Dq Li \e ,
 space, tab and newline characters.
+.Pp
+However, you may wish to consider the
+.Fl print0
+primary in conjunction with
+.Ql xargs -0
+as an effective alternative.
 .It Fl d
 The
 .Fl d
@@ -732,6 +738,7 @@
 .Xr locate 1 ,
 .Xr whereis 1 ,
 .Xr which 1 ,
+.Xr xargs 1 ,
 .Xr stat 2 ,
 .Xr fts 3 ,
 .Xr getgrent 3 ,

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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