www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/23/02:52:58

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
Subject: RE: Limit to length of command line arguments? (was Cygwin/bash: need environment variables >32K)
Date: Thu, 23 Oct 2003 08:52:32 +0200
MIME-Version: 1.0
Message-ID: <F0D7281DAB048B438E8F5EC4ECEFBDDC174F15@esmail.elsag.de>
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: =?iso-8859-1?Q?J=F6rg_Schaible?= <Joerg DOT Schaible AT Elsag-Solutions DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h9N6qv2I027099

Hi Barry,

Buchbinder, Barry (NIH/NIAID) wrote on Thursday, October 23, 2003 12:43 AM:
> While doing some other work, I've come to the impression that
> this is not a fileutils problem.  In a directory with ~1700
> htm files whose names take 37k,

<snip>
 
> $ ls *
> bash: /bin/ls.exe: Invalid argument
> 
> There has been a big change my cygwin installation since last
> week.  I got a new box, upgrading from Win98SE to XP Pro.  So
> this is a new installation of cygwin, but other than this
> line-length problem, everything seems to be working OK
> (ignoring minor glitches probably due to various
> configuration files getting lost in the transition).
> 
> Although I could re-do my scripts to work around this problem
> I'd appreciate any help in figuring out what is wrong with my cygwin
> installation. 

You might have an unusual filename (e.g. starting with a dash) that is interpreted as argument. Try

$ ls -- *

This tells ls to interpret anything after the double dash as file argument and not as possible option!

Regards,
Jörg

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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