delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/15/07:14:12

Message-Id: <200006151133.NAA01575@cerbere.u-strasbg.fr>
X-Sender: muller AT ics DOT u-strasbg DOT fr
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.2
Date: Thu, 15 Jun 2000 13:08:13 +0200
To: djgpp-workers AT delorie DOT com
From: Pierre Muller <muller AT cerbere DOT u-strasbg DOT fr>
Subject: "ls" bug ?
References: <200006141536 DOT LAA31954 AT qnx DOT com>
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

  Doing "ls *.exe "

gives me invalid option -- .
Other extensions seem to work correctly !
also " ls t*.exe" works correctly!
It does only so in a directory contains a
file with name -gstab.exe
(note the leading minus !)
( minus is probably an illegal char for Dos Names but under Windows
its easy to generate such a file name !)
(the .exe has nothing special, if I create a file   "-a.out"
ls *.out also gives the same message !)

  Is this a known bug or feature ?

I am using DJGPP v2.03
ls --version  gives  3.16


Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller AT ics DOT u-strasbg DOT fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99

- Raw text -


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