delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/05/13:27:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: Wed, 5 Jan 2005 13:26:23 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Talk Amongst Yourselves <cygwin-talk AT cygwin DOT com>, cygwin AT cygwin DOT com
Subject: Re: Argument list too long
In-Reply-To: <6.2.0.14.2.20050105101954.0cec0bd8@west.lustig.com>
Message-ID: <Pine.GSO.4.61.0501051323160.7503@slinky.cs.nyu.edu>
References: <6 DOT 2 DOT 0 DOT 14 DOT 2 DOT 20050105101954 DOT 0cec0bd8 AT west DOT lustig DOT com>
MIME-Version: 1.0

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
> find.

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>.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,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

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019