DASH Shell discussions
 help / color / mirror / Atom feed
From: Eric Blake <ebb9@byu.net>
To: dash@vger.kernel.org
Subject: Re: bugs in cd
Date: Mon, 31 Aug 2009 14:08:40 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090831T160451-196@post.gmane.org> (raw)
In-Reply-To: 20090831125653.GA8262@gondor.apana.org.au

Herbert Xu <herbert <at> gondor.apana.org.au> writes:

> > In other words, if CDPATH is "/", then you should not append any
> > additional <slash> characters, such that you end up checking for the
> > existence of "/foo", not "//foo".
> 
> Fair enough.  However, I noticed that they haven't fixed up PATH
> to do the same thing.

Most likely an unintentional oversight.  But to make sure, I've created a 
defect report:

http://austingroupbugs.net/view.php?id=139

https://www.opengroup.org/sophocles/show_mail.tpl?
CALLER=index.tpl&source=L&listname=austin-group-l&id=12720

[the former link may require free registration with the Austin group Mantis 
tracker; the latter is the public email summary generated from my edits]

> Since we use the same function for PATH and CDPATH, I'm not going
> to make any changes until POSIX becomes consistent in this respect.

Fair enough; I'll keep you posted when the Austin group rules on my report.

-- 
Eric Blake




  reply	other threads:[~2009-08-31 14:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14 21:39 bugs in cd Eric Blake
2009-08-31 11:28 ` Eric Blake
2009-08-31 12:07 ` Herbert Xu
2009-08-31 12:18 ` Herbert Xu
2009-08-31 12:23   ` Eric Blake
2009-08-31 12:56     ` Herbert Xu
2009-08-31 14:08       ` Eric Blake [this message]
2009-09-18  0:03         ` Eric Blake

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=loom.20090831T160451-196@post.gmane.org \
    --to=ebb9@byu.net \
    --cc=dash@vger.kernel.org \
    /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