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

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: <19990303155126.14113.rocketmail@send1e.yahoomail.com>
Date: Wed, 3 Mar 1999 07:51:26 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: B20: Bug? backslashes and stars within args of ls
To: "Waldor Michael \(K3/EMW4\)" <Michael DOT Waldor AT de DOT bosch DOT com>
Cc: cygwin users <cygwin AT sourceware DOT cygnus DOT com>
MIME-Version: 1.0

---"Waldor Michael (K3/EMW4)" <Michael DOT Waldor AT de DOT bosch DOT 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 AT yahoo DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


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