From owner-freebsd-current@FreeBSD.ORG Thu Sep 23 18:28:06 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E07816A4CE for ; Thu, 23 Sep 2004 18:28:06 +0000 (GMT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29AFE43D2D for ; Thu, 23 Sep 2004 18:28:06 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.13.0/8.13.0) with ESMTP id i8NIS4uT030280; Thu, 23 Sep 2004 14:28:04 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> References: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> Date: Thu, 23 Sep 2004 14:28:02 -0400 To: "Putinas Piliponis" , From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: RE: Could ARG_MAX be increased? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 18:28:06 -0000 At 4:54 PM +0300 9/23/04, Putinas Piliponis wrote: > >>how about grep -r ou find | xargs grep ! > >but this is workaround - isn't it ? No, that is the solution which will work for any number of files, on any Unix-based system. No matter what we increase MAX_ARGS to, it still be possible that some users will have a good reason to need to process even more args. The `find' command takes a little time to get comfortable with, but it is a very useful utility program for some situations. I have hit the limits in Solaris, for instance, and one of the earlier messages claimed that Sun uses a value of 1meg for MAX_ARGS. I have nothing against the idea of increasing the value of MAX_ARGS, as long as people realize that increasing it will not solve the issue for all situations. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu