Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 5 Sep 2005 11:23:30 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: xargs: argument list too long - new problem with v.4.2.25 Message-ID: <20050905152330.GD609@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <20050905105033 DOT 075464A8848 AT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050905105033.075464A8848@cgf.cx> User-Agent: Mutt/1.5.8i On Mon, Sep 05, 2005 at 11:46:05AM +0100, fergus wrote: >Just updated xargs from v.4.2.11-cvs to v.4.2.25 with installation of latest >findutils and I now find that > cat filelist | xargs md5sum >where filelist is a mere 1723 items long, now fails with > xargs: md5sum: Argument list too long >This did not happen with the previous version of xargs, which allowed a list >equal in length to the entire Cygwin provision (and much more under /home >and /usr/local) as in > find / | xargs md5sum >Anything I can do to recover the earlier generous behaviour? Thanks. Eric, I used to compile findutils with -DARG_MAX=150000 on the gcc command line to work around this problem. Undoubtedly there is a better way to do this, but maybe this is a hint as to what's wrong. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/