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]

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.

~Travis Smith
Systems Admin
tazium at yahoo dot com


--
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]