From owner-freebsd-standards Mon Jul 8 10:27:20 2002 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 0032937B400; Mon, 8 Jul 2002 10:27:18 -0700 (PDT) Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1C4943E09; Mon, 8 Jul 2002 10:27:17 -0700 (PDT) (envelope-from k@numeri.campus.luth.se) Received: (from k@localhost) by numeri.campus.luth.se (8.11.6/8.11.6) id g68HRGr57727; Mon, 8 Jul 2002 19:27:16 +0200 (CEST) (envelope-from k) Date: Mon, 8 Jul 2002 19:27:16 +0200 From: Johan Karlsson To: freebsd-standards@freebsd.org Cc: sheldonh@freebsd.org Subject: Re: adding -n flag to cp(1)/mv(1) Message-ID: <20020708192716.D56044@numeri.campus.luth.se> References: <20020708191912.C56044@numeri.campus.luth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020708191912.C56044@numeri.campus.luth.se>; from johan@freebsd.org on Mon, Jul 08, 2002 at 07:19:12PM +0200 Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok my suggestion only applies to cp(1) since mv(1) already has -n which does this. /Johan K On Mon, Jul 08, 2002 at 19:19 (+0200) +0000, Johan Karlsson wrote: > Hi > > I'm thinking about adding a flag to cp(1)/mv(1) > to make it never overwrite an existing file. > (see PR 7828 for the original suggestion) > > I guess a natural flag to use is -n as in the PR > but I want to know if this violates any of the > standards that we are trying to conform to. > > Or is this a realy stupid idea for some > other (standards) reason? > > > /Johan K > > -- > Johan Karlsson mailto:johan@FreeBSD.org -- Johan Karlsson mailto:johan@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message