This is the mail archive of the cygwin@sourceware.cygnus.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]

RE: Command-line length limit in bash with cygwin?


Try
	find . -name ... | xargs grep somestring
or some variation thereof (like find -print0 and xargs -0 -r)

> -----Original Message-----
> From: Karr, David [mailto:david.karr@attws.com]
> Sent: Tuesday, July 20, 1999 3:35 PM
> To: 'cygwin'
> Subject: RE: Command-line length limit in bash with cygwin?
> 
> 
> Is there really no way to do this?  I find that I often hit 
> this when I try
> do something like:
> 
> 	grep somestring $(find . -name ...)
> 
> 	----------
> 	From:  Karr, David [SMTP:david.karr@attws.com]
> 	Sent:  Friday, July 09, 1999 2:54 PM
> 	To:  'cygwin'
> 	Subject:  Command-line length limit in bash with cygwin?
> 
> 	I'm noticing that bash has a command-line length limit of 32k
> characters.
> 	Is this a hard limit, or is there any way to configure it to be
> larger?
> 
> 	--
> 	Want to unsubscribe from this list?
> 	Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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