This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Please test latest snapshot


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.chauhan@ce.com.au

-----Original Message-----
From: Corinna Vinschen [mailto:corinna-cygwin@cygwin.com] 
Sent: Saturday, 14 May 2005 8:07 AM
To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]