Subject: Re: B20: Bug? backslashes and stars within args of ls
From: Earnie Boyd <[email-masked]>
To: "Waldor Michael \(K3/EMW4\)" <[email-masked]>
Cc: cygwin users <[email-masked]>
Date: Wed, 3 Mar 1999 07:51:26 -0800 (PST)

---"Waldor Michael (K3/EMW4)" <[email-masked]> wrote:
8<
> not ok: ls c:\\temp\\f*
> //i/programme/mm3/util/ls: c:\temp\f*: No such file or directory
8<

Yep.  This is a bug.

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

This is the expected result.

8<
> I would like to call ls like
> 
> ls c:\temp/f*
> 
> i.e. with SINGLE backslash.
8<

Will never happen.  Actually the \ character is used for character
quoting and is therefore the reason you need two of them.  The first
one quotes the second one.

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

Well there is but not for this problem.  Look at the FAQ for the
environment variable CYGWIN.

You could also do:

mount c:\\ /c

then you would be able to do:

ls /c/temp/f*

==
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                [email-masked]               --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

--
Want to unsubscribe from this list?
Send a message to [email-masked]