From owner-cvs-all Sat May 18 8:22:14 2002 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id BCC8037B406; Sat, 18 May 2002 08:22:10 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [IPv6:fec0::1:12]) by Awfulhak.org (8.12.3/8.12.3) with ESMTP id g4IFM9va042850; Sat, 18 May 2002 16:22:09 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.12.3/8.12.3) with ESMTP id g4IFM4Ws010837; Sat, 18 May 2002 16:22:04 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200205181522.g4IFM4Ws010837@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Brian Somers , "Tim J. Robbins" , cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/pwd pwd.1 pwd.c In-Reply-To: Message from Peter Avalos of "Sat, 18 May 2002 04:28:18 PDT." <20020518112818.GA18482@theshell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 18 May 2002 16:22:04 +0100 From: Brian Somers 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 > 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 Ah, ok - that's what I was wondering. Please don't back out your change Tim - I'm clearly just wrong :) > --Pete -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message