bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cd"": Shouldn't it fail?


From: Oğuz
Subject: Re: cd"": Shouldn't it fail?
Date: Sun, 28 Jan 2024 17:50:22 +0200

On Sunday, January 28, 2024, Kerin Millar <kfm@plushkava.net> wrote:

> To summarise, the behaviour of bash appears to conform with the wording of
> Issue 7 but it may have to change for Issue 8 or a later revision.
>

Yeah I think you're right. In the description of directory operand, Issue 7
says:
>If *directory* is an empty string, the results are unspecified.

This changes to the following in Issue 8 draft 4:
>If directory is an empty string, cd shall write a diagnostic message to
standard error and exit with non-zero status.

Sorry for the noise.



-- 
Oğuz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]