delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/03/03:36:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <D9DA0A516892D111B3410000F8CB2C4401403D61@si13838.si.bosch.de>
From: "Waldor Michael (K3/EMW4)" <Michael DOT Waldor AT de DOT bosch DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: B20: Bug? backslashes and stars within args of ls
Date: Wed, 3 Mar 1999 09:31:16 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)

If one combines backslashes and stars within filenames as argument for ls,
the stars are NOT expanded if they occur next to a backslash:


(C:/temp/fdr is a directory containing some files.)

ok: ls c:/temp/fdr
ok: ls c:/temp/f*
ok: ls c:\\temp\\fdr
ok: ls c:\temp\fdr

not ok: ls c:\\temp\\f*
//i/programme/mm3/util/ls: c:\temp\f*: No such file or directory

not ok: ls c:\temp\f*
//i/programme/mm3/util/ls: c:tempf*: No such file or directory

ok: ls c:\\temp/f*


I'm running ls within cmd.exe from NT 4.0


I would like to call ls like

ls c:\temp/f*

i.e. with SINGLE backslash.


Maybe there is a environment variable to control cygwin's behaviour?



M. Waldor


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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