From owner-freebsd-doc Mon Apr 1 2: 0:11 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0D8C337B41C for ; Mon, 1 Apr 2002 02:00:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g31A08J80085; Mon, 1 Apr 2002 02:00:08 -0800 (PST) (envelope-from gnats) Date: Mon, 1 Apr 2002 02:00:08 -0800 (PST) Message-Id: <200204011000.g31A08J80085@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Joshua Goodall Subject: Re: docs/36602: find.1 should encourage users to DTRT when piping to xargs Reply-To: Joshua Goodall Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR docs/36602; it has been noted by GNATS. From: Joshua Goodall 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 Date: Mon, 1 Apr 2002 19:54:28 +1000 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