Subject: Multi-dot paths
From: [email-masked] (Tim Iverson)

4 Apr 1997 19:44:02 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Original-To: [email-masked]
X-Mailer: ELM [version 2.4 PL25]
Original-Sender: [email-masked]

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
  [email-masked]
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".