xargs: argument list too long - new problem with v.4.2.25

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Mon Sep 5 15:23:00 GMT 2005


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/



More information about the Cygwin mailing list