Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <20000510111408.6988.qmail@web1506.mail.yahoo.com> Date: Wed, 10 May 2000 04:14:08 -0700 (PDT) From: Christoph Bugel Reply-To: cbugel AT netvision DOT net DOT il Subject: E2BIG/EINVAL (was: wildcard expansion once more) To: cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I tried this on Linux (I use cygwin only at work) apparently exec() (called by bash to execute the utility) returned EINVAL instead of E2BIG. so maybe this is a (minor) cygwin problem. but if this is fixed, ls still won't handle large args, only you'll see a more accurate error.. it seems to me that bash can handle large commandlines (I have not found a limit. is there one?) but other utilities are limited. I tried ls and echo, which both resulted in E2BIG -- see below. the builtin echo command has no such problem. hmmm, now that I think of it - every utility will have this problem - exec() itself imposes the limitation, I guess. echo big/* (this one works -- echo is shell builtin) /bin/echo big/* bash: /bin/echo: Argument list too long ls big/* bash: /bin/ls: Argument list too long __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com