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]

Re: Directories with trailing period.


That's a peculiarity of CP/M -> MSDOS -> Windows.  Since Cygwin sits on top
of Windows, it's a feature rather than a bug.
--
Mac :})
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "Travis Smith" <tazium@yahoo.com>
To: "Cygwin Mailing List" <cygwin@cygwin.com>
Sent: Sunday, June 03, 2001 11:07
Subject: Directories with trailing period.


> I have no idea if this is expected behavior.
>
> appending a trailing period (.) to any directory when changing directories
> will allow you enter that directory.
>
> In Solaris I know this action fails with bash.
>
> <log>
> ~ $ cd src
> ~/src $ cd mud
> ~/src/mud $ cd logs
> ~/src/mud/logs $ pwd
> /home/Travis/src/mud/logs
> ~/src/mud/logs $ ll
> total 1
> drwxr-xr-x   2 Travis   None            0 Jun  3 13:57 ./
> drwxr-xr-x   3 Travis   None            0 May 28 15:52 ../
> -rw-r--r--   1 Travis   None           67 May 20 16:52 mylog.log
> ~/src/mud/logs $ cd /
> / $ cd home.
> /home. $ cd Travis.
> /home./Travis. $ cd src.
> /home./Travis./src. $ cd mud.
> /home./Travis./src./mud. $ cd logs.
> /home./Travis./src./mud./logs. $ ll
> total 1
> drwxr-xr-x   2 Travis   None            0 Jun  3 13:57 ./
> drwxr-xr-x   3 Travis   None            0 May 28 15:52 ../
> -rw-r--r--   1 Travis   None           67 May 20 16:52 mylog.log
> /home./Travis./src./mud./logs. $ pwd
> /home./Travis./src./mud./logs.
> /home./Travis./src./mud./logs. $ alias ll
> ll="/usr/bin/ls -laF --color=auto"
> /home./Travis./src./mud./logs. $
> </log>
>
> And sorry, no patch. I haven't even looked at the source for bash before.




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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