[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cd"": Shouldn't it fail?
From: |
Kerin Millar |
Subject: |
Re: cd"": Shouldn't it fail? |
Date: |
Tue, 30 Jan 2024 15:42:41 +0000 |
On Tue, 30 Jan 2024 10:34:28 -0500
Chet Ramey <chet.ramey@case.edu> wrote:
> On 1/30/24 10:29 AM, Kerin Millar wrote:
>
> >>> I'm not sure that this is accurate. In my testing, bash does not even
> >>> perform this canonicalization step, which is optional to begin with. That
> >>> is, it states that "an implementation may" canonicalize in the manner
> >>> described, and prescribes a course of action to take if - and only if -
> >>> such canonicalization is performed.
> >>
> >> It does. Try `cd /usr/////////bin' and see what ends up in $PWD.
> >
> > Thanks. I doubted myself on this point upon reading your response to my
> > last bug report (in which you spoke of canonicalization). I was certain
> > that it was not material to the behaviour under discussion in this thread,
> > though.
>
> It's not, really, since the operand is "" and $PWD won't contain multiple
> slashes.
I said "it was not".
--
Kerin Millar
- cd"": Shouldn't it fail?, jwo, 2024/01/28
- Re: cd"": Shouldn't it fail?, Kerin Millar, 2024/01/28
- Re: cd"": Shouldn't it fail?, Oğuz, 2024/01/28
- Re: cd"": Shouldn't it fail?, Kerin Millar, 2024/01/28
- Re: cd"": Shouldn't it fail?, Oğuz, 2024/01/28
- Re: cd"": Shouldn't it fail?, Chet Ramey, 2024/01/30
- Re: cd"": Shouldn't it fail?, Kerin Millar, 2024/01/30
- Re: cd"": Shouldn't it fail?, Chet Ramey, 2024/01/30
- Re: cd"": Shouldn't it fail?,
Kerin Millar <=
- Re: cd"": Shouldn't it fail?, Chet Ramey, 2024/01/30
Re: cd"": Shouldn't it fail?, Chet Ramey, 2024/01/30