delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/15/21:04:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <55E0A3E94323974F83CFC5AAB96F68B8014191C8@snnexc03.in.ce.com.au>
From: Sonam Chauhan <sonam DOT chauhan AT ce DOT com DOT au>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: Please test latest snapshot
Date: Mon, 16 May 2005 11:03:32 +1000
MIME-Version: 1.0
X-IsSubscribed: yes

Corinna Vinschen said:
> You can now list servers in the machine's domain/workgroup with
> 
>  $ ls //

Since some (most?) Unix shells have a "convenience feature" to reinterpret
multiple forward slashes as a single slash, could this behavior break
existing scripts or makefiles?

Also, there is a strange discrepancy in how the current (non-snapshot)
version of Cygwin 1.5.16-1 handles multiple forward slashes. I compared it's
handling of some 'ls' commands to that of bash on Linux RHAS 2.1.

When listing '/', all the following commands work the same on both systems: 
1. 	ls /
2. 	ls //
3. 	ls ///
4. 	ls ////

However, when listing a directory under '/', command #2 behaves differently
in Cygwin:
1. 	ls /etc
2. 	ls //etc (* - fails only on Cygwin, see below)
3. 	ls ///etc
4. 	ls ////etc


(*) On Cygwin, command #2 returns:
-----------------------------------------
$ ls //etc
ls: //etc: No such file or directory
-----------------------------------------

Regards,
Sonam Chauhan
-- 
Electronic Commerce, Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Email: sonam DOT chauhan AT ce DOT com DOT au

-----Original Message-----
From: Corinna Vinschen [mailto:corinna-cygwin AT cygwin DOT com] 
Sent: Saturday, 14 May 2005 8:07 AM
To: cygwin AT cygwin DOT com
Subject: Please test latest snapshot



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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