[Bug 1683576] Re: cd with multiple directory argument fails
Quigi
1683576 at bugs.launchpad.net
Wed Apr 7 18:30:29 UTC 2021
This is still broken in Ubuntu 18.04.5 LTS / GNU bash, version 4.4.20(1)-release
and in Ubuntu 20.04.1 LTS / GNU bash, version 5.0.17(1)-release.
The manual pages for Bash 4.2, Bash 4.4 and Bash 5.0 all specify "Any
additional arguments following dir are ignored. (Only bash 4.2 works
correctly.)
This is a bug.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1683576
Title:
cd with multiple directory argument fails
Status in bash package in Ubuntu:
Confirmed
Bug description:
In bash 4.4, a new behaviour was introduced for cd, where it would complain if multiple arguments are provided. From config-top.h [1]:
/* Define CD_COMPLAINS if you want the non-standard, but sometimes-desired
error messages about multiple directory arguments to `cd'. */
#define CD_COMPLAINS
It seems like this is enabled for Ubuntu. However, this behaviour
conflicts with the manual (both Ubuntu's and GNU's), which says
something similar to: "Any additional arguments following directory
are ignored."
Please revert to the old behaviour, or correct the manual. This is not
a user-configurable setting, and push is also affected.
Ubuntu 17.04
bash 4.4-2ubuntu1
[1]: http://git.savannah.gnu.org/cgit/bash.git/tree/config-top.h#n30
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1683576/+subscriptions
More information about the foundations-bugs
mailing list