From owner-freebsd-current@FreeBSD.ORG Tue Feb 22 20:19:55 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9ED216A4CE for ; Tue, 22 Feb 2005 20:19:55 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id DE0FE43D46 for ; Tue, 22 Feb 2005 20:19:54 +0000 (GMT) (envelope-from andreas.kohn@gmx.net) Received: (qmail invoked by alias); 22 Feb 2005 20:19:54 -0000 Received: from unknown (EHLO localhost.localdomain) (212.204.44.203) by mail.gmx.net (mp025) with SMTP; 22 Feb 2005 21:19:54 +0100 X-Authenticated: #2431876 From: Andreas Kohn To: freebsd-current@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-cifIo4skXrLKXV3kKBmU" Date: Tue, 22 Feb 2005 21:19:52 +0100 Message-Id: <1109103592.84939.11.camel@klamath.syndrom23.de> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 FreeBSD GNOME Team Port X-Y-GMX-Trusted: 0 Subject: cd into // works? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2005 20:19:56 -0000 --=-cifIo4skXrLKXV3kKBmU Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, due to a typo, I typed [klamath] ~>cd // today. Okay, I'm used to the shell[1] changing any // into /, so I expected to get to /. Now, I got there, but pwd/$PWD still have "//" in them? [klamath] //>pwd // [klamath] //>echo $PWD // [klamath] //>cd //home// [klamath] //home>pwd //home I checked with Linux, and there everything works as expected: [catalina] ~>cd // [catalina] />pwd / Is this expected behavior?=20 Regards, Andreas [1] I always thought it was the shell, but I have the same shell (bash=20 3) on FreeBSD and Linux.=20 --=20 --=-cifIo4skXrLKXV3kKBmU Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCG5PoYucd7Ow1ygwRAh0aAJ9eiR5MdJaU/Q7obRdw4JU0Dpl77wCbBO3A LHv01gjAY9QVVOBImu/NSLc= =pnra -----END PGP SIGNATURE----- --=-cifIo4skXrLKXV3kKBmU--