This is the mail archive of the cygwin@sourceware.cygnus.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]

Multi-dot paths


Several folks have asked what "multi-dot" relative paths are.  Win95
will resolve each extra dot to mean back up one more directory; eg.

  .    = cwd
  ..   = previous dir
  ...  = ../..
  .... = ../../..
  etc.

Under bash, you can actually use these, but it looks kinda funny if you've
put the CWD into your prompt -- bash doesn't know that "..." backs up, so
you get "/foo/bar/.../baz> " for a prompt.  PWD is also broken -- it just
looks up the shell's idea of CWD when it should be asking the OS.


- Tim Iverson
  iverson@cisco.com
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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