public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Erik Nolte" <enolte@campuspipeline.com>
To: "Earnie Boyd" <earnie_boyd@yahoo.com>, <kulack@us.ibm.com>
Cc: <cygwin@sourceware.cygnus.com>
Subject: Re: Strange cd/CDPATH behavior
Date: Tue, 26 Sep 2000 12:22:00 -0000	[thread overview]
Message-ID: <012101c027ef$a6916f70$c4acb018@home.com> (raw)
In-Reply-To: <20000926181915.7663.qmail@web118.yahoomail.com>

> I can successfully `cd c:/temp' from the bash prompt so that itself
> isn't a problem.  You mention that you have CDPATH set, what is it set to?
If
> CDPATH itself contains a ":" character it is used as a list separator, so
DOS
> paths can't exist in CDPATH unless the "\" quoting character precedes the
":".

I have a CDPATH of UNIX-style directories:


.:/w//src/com/pipeline:/w/:/w//src:/w//docs:/w//src/html:/w//src/com/pipelin
e/ab

m:/w//src/com/pipeline/ad:/w//src/com/pipeline/addrbk:/w//src/com/pipeline/a
dmin

:/w//src/com/pipeline/aio:/w//src/com/pipeline/alert:/w//src/com/pipeline/ap
plic
    ations:/w//src/com/pipeline/awt:/w//src/com/pipeline/bom

B20.1 must have recognized that w:/ is an absolute path while 1.1.4 doesn't
think so.  And somehow "." in CDPATH triggers the problem.

Try this:

    export CDPATH=/c:/d
    cd d:/
    <you should just see the command prompt>

then try:

    export CDPATH=/c:/d:.
    cd d:/
    <you should see "d:" and then the command prompt on the next line>

The question is why does adding "." to CDPATH cause "d:/" to be interpreted
as a relative path?

- Erik


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

  reply	other threads:[~2000-09-26 12:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-26 11:19 Earnie Boyd
2000-09-26 12:22 ` Erik Nolte [this message]
2000-09-26 12:30   ` Chris Faylor
  -- strict thread matches above, loose matches on Subject: below --
2000-09-26 13:16 Earnie Boyd
2000-09-26 16:53 ` Chris Faylor
     [not found]   ` <002b01c02819$1508b700$c4acb018@home.com>
2000-09-26 17:22     ` Chris Faylor
2000-09-26 13:12 Earnie Boyd
2000-09-26 11:25 Bernard Dautrevaux
2000-09-26 10:11 kulack
2000-09-26 10:37 ` Erik Nolte
2000-09-26 10:57   ` Chris Faylor
2000-09-26 10:03 Schaible, Joerg
2000-09-26  9:29 Erik Nolte
2000-09-26 10:56 ` Bob McGowan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='012101c027ef$a6916f70$c4acb018@home.com' \
    --to=enolte@campuspipeline.com \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=earnie_boyd@yahoo.com \
    --cc=kulack@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).