cd with multiple directory argument fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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://
Status changed to 'Confirmed' because the bug affects multiple users.