long command lines

Daniel Barclay Daniel.Barclay@digitalfocus.com
Mon Jan 29 07:51:00 GMT 2001


Earnie Boyd wrote:
> 
> Mike Schuster wrote:
> >
> > Problem: I couldn't figure out how to get very long command line
> > arguments to work (~32k) (for example 'ls */*/*/*', if you have a lot of
> > files on the disk).
...
> 
> Well, most systems have a command line limit.  Check out `man xargs'.
> However, xargs may have limits also.

I thought GNU software tried to avoid arbitrary limit like that.  Shouldn't
the only limit be virtual memory?  

That is, shouldn't bash keep reallocating (enlarging) its buffer until the
pattern has been expanding, or until it runs out of memory?

Daniel
-- 
Daniel Barclay
Digital Focus
Daniel.Barclay@digitalfocus.com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list