This is the mail archive of the cygwin@sources.redhat.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: long command lines


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


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