[EMAIL PROTECTED]> cd c:/temp/foo
[EMAIL PROTECTED]> ls
bar/  foo.file
[EMAIL PROTECTED]> cd bar
[EMAIL PROTECTED]> ls
bar.file
[EMAIL PROTECTED]> cd c:/temp/foo/bar
[EMAIL PROTECTED]> ls
bar.file
[EMAIL PROTECTED]> ls ..
bar/  foo.file
[EMAIL PROTECTED]> cd c:/temp/foo/bar/
[EMAIL PROTECTED]> ls
bar.file
[EMAIL PROTECTED]> ls ..
bar.file
[EMAIL PROTECTED]> cd ..
[EMAIL PROTECTED]> ls
bar.file
[EMAIL PROTECTED]> ls ..
bar/  foo.file
[EMAIL PROTECTED]>


If the directory name you give cd meets this criteria:

    - start with a drive letter
    - end with a slash

then it looks like cd takes you where you want to go but it really
takes you one below so that you have to climb up one level to be safe.

Bash doesn't observe this problem. This is using tcsh.

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

Reply via email to