This is the mail archive of the cygwin-talk@cygwin.com mailing list for the cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Argument list too long


> -----Original Message-----
> From: cygwin-talk-owner On Behalf Of Emil Rojas
> Sent: 05 January 2005 18:20

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

  Hey!  Get outta here with this on-topic stuff!!!1!  This is the off-topic
list!

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

  Rather than 'feature' or 'bug', call it a limitation.  It's a property  of the
underlying windoze system calls.

  You should be able to workaround it by using "xargs grep".  And I believe it
should also be possible to work around it by mounting your root partition with
the "-X option"

mount -f -X c:/cygwin/bin /bin

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]