Configuration Information [Automatically generated, do not change]: Machine: amd64 OS: freebsd12.3 Compiler: cc Compilation CFLAGS: -O2 -pipe -fno-omit-frame-pointer -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing uname output: FreeBSD bxlr.sk 12.3-RELEASE FreeBSD 12.3-RELEASE releng/12.3-n1-70cb68e7a BXLR amd64 Machine Type: amd64-portbld-freebsd12.3
Bash Version: 5.1 Patch Level: 16 Release Status: release Description: Bash internal command cd doesn't ignore additional arguments following dir as stated in its man page. This is not OS dependent, reproducible on Linux/FreeBSD since version 4.4. Repeat-By: $ cd /tmp /root -bash: cd: too many arguments While cd-ing to more dirs doesn't make sense this issue was discovered by some bad regex in SAP profiles. bash before 4.4 was silently ignoring this. If this is expected behavior man page should be updated as those arguments are not ignored any more. martin