This is the mail archive of the cygwin@cygwin.com 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: OpenSSH-3.4p1-2 bug in ssh-host-config


Marc,

> [beej@beej-lap]~:{506}:$ ls //etc/ssh*
> ls: //etc/ssh*: No such file or directory
> [beej@beej-lap]~:{507}:$ ls /etc/ssh*
> /etc/ssh_config   

Here is one more interesting bit:

hunt@NUCFAC13 ~
$ ls /etc//ssh*
/etc//sshd_config


So, an extra / somewhere in the middle of the path doesn't cause problems, but
an extra leading / does cause problems.  

Both 'ls //etc/ssh*' and 'ls /etc//ssh*' work under bash on Linux (so this
isn't a bash problem in general).

Maybe this is a Windows command prompt escape problem (I didn't think that /
was special to the Windows command prompt, but I could be mistaken)?

Harold

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]