From nobody Sun Mar 17 13:47:18 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TyK6Z6fKFz5D8lR for ; Sun, 17 Mar 2024 13:47:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TyK6Z533kz4kc4 for ; Sun, 17 Mar 2024 13:47:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710683238; a=rsa-sha256; cv=none; b=DHpTnDRJU+tw15yLO2iw8pFQFLZegM43DNYwEkclYnadJzYOJyj7hu0TDe+8SvRgiKVjMQ HV8KN0/AVXzC4+xlaCTZbrvXIGLIUhnvIj527EDNlsBhDRJGLD18iKLa9QJyqRvuotO5eH SfKqddJ2ZPA/ROnR6ocJ07zoZqCqCgskA978joFqAr+H1sZRqhv7UL7qjbB/xm2C0dkw8U WuQ7I2iPp4xSdaeNaZVt0O0pFbEisyqLaZrnWM2XKbMMM8/SJJqUtCjXJmMsSj/vLu4MDK DYuDPlM+rncfu04igl/T8ehYQNdaj5Ux4HN92vRFC0LTyr7FiEVrUZisaFI7wA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710683238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+lNzfeqjIHG1rULB0FpTZNnQsyjbS35pmwfOqi8mRng=; b=q22JDH+Si+FMaWgYdEPXvXPnD15MQdbBxtdIoWjzsvDuANL01GA5/0bBjWcGOCXM7RaO7M 6vtyfVLDojOkX++pXmYrxDWg9GwgVxWC+NM/hbUdUtL/Sc4OsVbfKwe9qA7fe1OY/BGM5g ccGw7onKYN8dhbir8Nl33qSgR90BcAis61p3FrHuyw+pSBiAHP0QN7KRF5VVBqIvXsU7xd SNiL6ZdkZkZRJ9J7Jx8NtqNdG+RLDnRglNKxkglU7TF2BeKx7aMVYeOzIjekUF2ONQnPNY D92gF7ukGOOybojwF371KLXX+bC0GY5zoS5SVJfbNEN5T1RUVF6I9cyjWWuaPQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TyK6Z4fXrzh7r for ; Sun, 17 Mar 2024 13:47:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42HDlIqZ076324 for ; Sun, 17 Mar 2024 13:47:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42HDlI3I076323 for bugs@FreeBSD.org; Sun, 17 Mar 2024 13:47:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277760] sh: cd prints path when prefixed with ./ Date: Sun, 17 Mar 2024 13:47:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: naddy@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277760 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 $=20 This appears to be a bug in all versions of FreeBSD. Printing the path is normal and standards-compliant for "cd -" or when CDPA= TH is used. --=20 You are receiving this mail because: You are the assignee for the bug.=