This is the mail archive of the
mailing list for the cygwin project.
Re: Argument list too long
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>, cygwin at cygwin dot com
- Date: Wed, 5 Jan 2005 13:26:23 -0500 (EST)
- Subject: Re: Argument list too long
- References: <firstname.lastname@example.org>
- Reply-to: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
- Reply-to: cygwin at cygwin dot com
On Wed, 5 Jan 2005, Emil Rojas wrote:
> I am providing grep with a long list of files, e.g. 1200 files with
> about 80K characters.
> I get the following
> bash: /bin/grep: Argument list too long
> If I reduce the total characters to less then 32K it works fine. This
> list is a list of the source files in a development tree retrieved with
a) wrong list.
b) try "xargs".
> I just updated to see if this announcement,
> Updated: findutils-4.2.10-5,
> http://sources.redhat.com/ml/cygwin/2004-12/msg00207.html would fix it,
> but it does not appear to do so.
c) why would findutils fix a problem with grep?
> I know this is not a problem under linux, and I don't remember it being
> a problem in earlier versions of cygwin. Is this a feature or a bug?
> If it is a bug, despite reading abut reporting bugs on the cygwin web
> site I still am totally uncertain about how one would report this bug.
> Guidance here would be appreciated.
d) CGF suggested
"mount -X c:\cygwin\bin /usr/bin; mount -X c:\cygwin\bin /bin"
Don't know how well it'll work, but it's worth a try.
Oh, and please review <http://cygwin.com/problems.html>.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT