Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2002 04:28:18 -0700
From:      Peter Avalos <pavalos@theshell.com>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        "Tim J. Robbins" <tjr@FreeBSD.org>, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/pwd pwd.1 pwd.c
Message-ID:  <20020518112818.GA18482@theshell.com>
In-Reply-To: <200205181030.g4IAU9Ws008994@hak.lan.Awfulhak.org>
References:  <200205180247.g4I2lP754600@freefall.freebsd.org> <200205181030.g4IAU9Ws008994@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020518112818.GA18482>