This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: long command lines
- To: Mike Schuster <schuster at nuance dot com>
- Subject: Re: long command lines
- From: Jon Ericson <Jonathan dot L dot Ericson at jpl dot nasa dot gov>
- Date: Thu, 25 Jan 2001 17:26:16 -0800
- CC: cygwin at cygwin dot com
- References: <3A70B734.A18289E@nuance.com>
- Reply-To: Jonathan dot L dot Ericson at jpl dot nasa dot gov
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).
>
> Question: Does anybody know if this
> a) a Windows problem,
> b) a cygwin problem,
> c) something that can easily be fixed by setting some parameter
> (Which?).
You should be using some combination of find and/or xargs rather than
wildcard expansion. For instance, "find .". This is a general shell
issue not limited to either Windows or cygwin.
Jon
--
Knowledge is that which remains when what is
learned is forgotten. - Mr. King
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple