www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/21/15:47:31

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 17:28:27 GMT
Organization: HiWAAY Information Services
Message-ID: <335ba287.24417394@news.hiwaay.net>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970421100618 DOT 2883B-100000 AT is> <335b48fb DOT 1489714 AT news DOT hiwaay DOT net>
NNTP-Posting-Host: 206.151.226.177
Lines: 72
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

bergeron AT hiwaay DOT net (Wayne Bergeron) wrote:

>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
>

WB Received the following from Mr. Daisuke Aoyama via e-mail:



>Probably the expanded arguments are more than transfer buffer. So DJGPP's
>library complains about this. New version is tried to pass the arguments
>through to the response file when fail to run. Please check it yourself.

>Note that BASH's builtin comamnds (like echo) are not limited about this.
>Try to run builtin echo instead of ls.exe.

>>support multi-level directory wildcarding, doesn't it?

>Yes. BASH supports multiple asterisks.

>Daisuke Aoyama
>jack AT st DOT rim DOT or DOT jp

>PGP Key ID: 50B4BDFD
>PGP Key Fingerprint: 1E 2C 84 22 DA C4 0C BB  5A 75 F5 8A 82 F8 DF 58


>Daisuke Aoyama

This seems to be the case, since 'echo' works.  Thanks to all for the
help.
			-- WB

- Raw text -


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