Argument list too long
Dave Korn
dave.korn@artimi.com
Wed Jan 5 18:49:00 GMT 2005
> -----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....
More information about the Cygwin-talk
mailing list