www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/21/08:12:10

From: bergeron AT hiwaay DOT net (Wayne Bergeron)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bash Argument list too long
Date: Mon, 21 Apr 1997 11:12:22 GMT
Organization: HiWAAY Information Services
Lines: 41
Message-ID: <335b48fb.1489714@news.hiwaay.net>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970421100618 DOT 2883B-100000 AT is>
NNTP-Posting-Host: 206.151.226.177
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

>
>On Thu, 17 Apr 1997, Wayne Bergeron wrote:
>
>> >Get the latest beta version from Daisuke Aoyama's home page.  This
>> >problem has been fixed a long time ago.
>> 
>> Thanks.  Got it.  Tried it.  Still have the situation.  I am using ls
>> version 3.13 from GNU Utils.  No problem there, is there?  The command
>> is 'ls j:/tp*/*/u*'.  This should find several dozen files.  Bash does
>> support multi-level directory wildcarding, doesn't it?
>
>Yes, such wildcards are supported.
>
>How many files is there, anyway?  Maybe you did overflow the limits?
>Does that command work from ye olde COMMAND.COM?  I was just able to
>list about 1400 files with a similar command using the latest bash.
>
>Btw, is that `ls' from the DJGPP port (v2gnu/fil313b.zip) on
>SimTel.NET, or some other port?

That is the zip file.

The total files that ls should find in the directory tree:

ls j:/tp*			4 directories
ls j:/tp*/*			373 directories
ls j:/tp*/*/*			14,150 files total
ls j:/tp*/*/u* (what I wanted)	704 files

Sorry I didn't include the statistics earlier.  I was trying to use
the bash/ls combination to get this because you have to play with DOS
to get it to give just the information above.  I did a DOS dir of the
entire disk, an used grep and wc to count the files.  ls is easier,
and plays with other UNIX utilities, when available.  This is the type
of thing I will be doing a lot of in the future.

Thanks for your consideration.
						-- WB

- Raw text -


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