From owner-cvs-all Sat May 18 4:28:23 2002 Delivered-To: cvs-all@freebsd.org Received: from theshell.com (arsenic.theshell.com [63.236.138.5]) by hub.freebsd.org (Postfix) with SMTP id E89F737B40F for ; Sat, 18 May 2002 04:28:18 -0700 (PDT) Received: (qmail 35512 invoked from network); 18 May 2002 11:28:18 -0000 Received: from oxygen.theshell.com (pavalos@63.236.138.8) by arsenic.theshell.com with SMTP; 18 May 2002 11:28:18 -0000 Received: (from pavalos@localhost) by oxygen.theshell.com (8.12.3/8.12.3) id g4IBSImD019160; Sat, 18 May 2002 04:28:18 -0700 (PDT) (envelope-from pavalos) Date: Sat, 18 May 2002 04:28:18 -0700 From: Peter Avalos To: Brian Somers Cc: "Tim J. Robbins" , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/pwd pwd.1 pwd.c Message-ID: <20020518112818.GA18482@theshell.com> Mail-Followup-To: Brian Somers , "Tim J. Robbins" , cvs-all@FreeBSD.org References: <200205180247.g4I2lP754600@freefall.freebsd.org> <200205181030.g4IAU9Ws008994@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <200205181030.g4IAU9Ws008994@hak.lan.Awfulhak.org> User-Agent: Mutt/1.3.99i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 18, 2002 at 11:30:09AM +0100, Brian Somers wrote: > > tjr 2002/05/17 19:47:25 PDT > >=20 > > Modified files: > > bin/pwd pwd.1 pwd.c=20 > > Log: > > Make -L the default, allow both -L and -P to be specified (last one u= sed > > matters), fall back to -P mode if we can't get the logical directory. > > =20 > > Revision Changes Path > > 1.19 +2 -2 src/bin/pwd/pwd.1 > > 1.18 +14 -9 src/bin/pwd/pwd.c >=20 > I don't think this is wise. I've always been of the understanding=20 > that ``pwd'' gives me my logical directory and ``/bin/pwd'' gives me=20 > the physical one. I've written scripts to depend on this. IEEE Std 1003.1-2001 is quite clear on option handling for pwd, and Tim's change implements the correct behavior. Maybe it's time to update your scripts ;P --Pete --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE85jrRKjaxugguz8URAjFOAJ45ie3UigtSLlPvYSXhfzEoox5pxwCfWdEm 3TZTnfkgkWKJWIAim9XIemw= =3San -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message