From owner-freebsd-standards@FreeBSD.ORG Fri Apr 1 17:37:31 2005 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 290B516A4CE; Fri, 1 Apr 2005 17:37:31 +0000 (GMT) Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67EE743D2D; Fri, 1 Apr 2005 17:37:30 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from mobile.pittgoth.com (ip68-230-188-82.dc.dc.cox.net [68.230.188.82]) (authenticated bits=0) by pittgoth.com (8.12.10/8.12.10) with ESMTP id j31HbSMp085099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 1 Apr 2005 12:37:29 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Fri, 1 Apr 2005 12:37:06 -0500 From: Tom Rhodes To: David Schultz Message-ID: <20050401123706.048e2ab6@mobile.pittgoth.com> In-Reply-To: <20050401172207.GA23665@VARK.MIT.EDU> References: <20050330181904.16519571@mobile.pittgoth.com> <20050401191850.Q24028@delplex.bde.org> <200504011517.j31FHxTO084986@khavrinen.lcs.mit.edu> <20050402015901.K24966@delplex.bde.org> <20050401172207.GA23665@VARK.MIT.EDU> X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: standards@FreeBSD.org Subject: Re: Patch for cp(1) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 17:37:31 -0000 On Fri, 1 Apr 2005 12:22:07 -0500 David Schultz wrote: > On Sat, Apr 02, 2005, Bruce Evans wrote: > > On Fri, 1 Apr 2005, Garrett Wollman wrote: > > > > >< > > >said: > > > > > >[cp -r] > > >>I think we don't need to keep it except for POSIX compatibility. > > > > > >>New programs just shouldn't use cp -r. Old programs that use cp -r > > >>shouldn't have its behaviour changed. > > > > > >I'm more concerned about humans. > [...] > > -r is the same as -R under Linux (linux_base_8), and it isn't even > > deprecated > > in cp --help at least, so it won't go away, and fingers will be trained to > > use it in preference to -R, for at least another 20 years. > > Isn't that an argument *for* Tom's patch? In any case, I think > the argument about old programs is bogus, because there are > undoubtedly more scripts that assume the Linux behavior than there > are pre-4.2BSD scripts out there. Yes, that is an argument for my patch. :) > > Furthermore, are there situations where -r and -R differ such that > -r would behave reasonably? If it's the case that every time > someone uses -r they really mean -R, then simply eliminating -r is > worse than making it an alias for -R. I agree that completely removing -r would be bad right now. -- Tom Rhodes