delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3DD3A29F.2AA71F51@yahoo.com> |
Date: | Thu, 14 Nov 2002 08:18:23 -0500 |
From: | CBFalconer <cbfalconer AT yahoo DOT com> |
Reply-To: | cbfalconer AT worldnet DOT att DOT net |
Organization: | Ched Research |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: problem with bash (too much file in directory) |
References: | <C1256C71 DOT 003C8AE8 DOT 00 AT james> |
Claudio Tamietto wrote: > > I have installed cigwin on my W2K PC and all is very well > functioning. However if i try some commands like ls * or > grep -i -l some_text * from a directory whit a lot of files > (7-8 thousand) i obtain this error > > bash: /usr/bin/ls: Invalid argument > > Is it a bug ? > > If i try the same commands from a dos shell the error is not > reported e all is functioning . I expect bash is globbing the argument and running into command line length limits, while the grep run from dos is expanding the argument on the fly. Dos doesn't glob, which has advantages and disadvantages. Not a bug. -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. <http://cbfalconer.home.att.net> USE worldnet address! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |