This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
B20: Bug? backslashes and stars within args of ls
- To: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
- Subject: B20: Bug? backslashes and stars within args of ls
- From: "Waldor Michael (K3/EMW4)" <Michael.Waldor@de.bosch.com>
- Date: Wed, 3 Mar 1999 09:31:16 +0100
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- Sender: cygwin-owner@sourceware.cygnus.com
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@sourceware.cygnus.com