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