delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/25/20:48:51

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A70D238.3B4CBB5D@jpl.nasa.gov>
Date: Thu, 25 Jan 2001 17:26:16 -0800
From: Jon Ericson <Jonathan DOT L DOT Ericson AT jpl DOT nasa DOT gov>
Reply-To: Jonathan DOT L DOT Ericson AT jpl DOT nasa DOT gov
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Mike Schuster <schuster AT nuance DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: long command lines
References: <3A70B734 DOT A18289E AT nuance DOT com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019