[Bug 1683576] [NEW] cd with multiple directory argument fails

Murukesh Mohanan 1683576 at bugs.launchpad.net
Tue Apr 18 03:09:31 UTC 2017


Public bug reported:

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

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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