From owner-freebsd-doc Mon Apr 1 1:54:40 2002 Delivered-To: freebsd-doc@freebsd.org Received: from yello.shallow.net (yello.shallow.net [203.18.243.120]) by hub.freebsd.org (Postfix) with ESMTP id 3349737B41E; Mon, 1 Apr 2002 01:54:38 -0800 (PST) Received: by yello.shallow.net (Postfix, from userid 1001) id DAD8E2A69; Mon, 1 Apr 2002 19:54:28 +1000 (EST) Date: Mon, 1 Apr 2002 19:54:28 +1000 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 Message-ID: <20020401095428.GE30787@roughtrade.net> References: <20020401035025.138C83E2C@green.shallow.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i 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 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