[Bug 277760] sh: cd prints path when prefixed with ./
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Mar 2024 13:47:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277760 Bug ID: 277760 Summary: sh: cd prints path when prefixed with ./ Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: naddy@FreeBSD.org When changing into a directory that is prefixed with "./", interactive sh(1) prints the path: $ cd / $ (cd /usr) $ (cd usr) $ (cd ./usr) /usr $ This appears to be a bug in all versions of FreeBSD. Printing the path is normal and standards-compliant for "cd -" or when CDPATH is used. -- You are receiving this mail because: You are the assignee for the bug.