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]

Re: B20: Bug? backslashes and stars within args of ls



---"Waldor Michael (K3/EMW4)" <Michael.Waldor@de.bosch.com> 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-------------------
--                earnie_boyd@yahoo.com               --
-- 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 cygwin-unsubscribe@sourceware.cygnus.com