[Bug 1683576] Re: cd with multiple directory argument fails

Norbert 1683576 at bugs.launchpad.net
Thu Jan 4 11:43:33 UTC 2018


Seen on AskUbuntu during discussion of the problem "Command cd behavior"
(https://askubuntu.com/q/992192/66509).

** Tags added: artful bionic

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