This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: xargs: argument list too long - new problem with v.4.2.25
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 5 Sep 2005 11:23:30 -0400
- Subject: Re: xargs: argument list too long - new problem with v.4.2.25
- References: <20050905105033.075464A8848@cgf.cx>
- Reply-to: cygwin at cygwin dot com
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/