From owner-cvs-bin Sun Feb 18 10:45:07 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA27257 for cvs-bin-outgoing; Sun, 18 Feb 1996 10:45:07 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA27235 Sun, 18 Feb 1996 10:44:59 -0800 (PST) Date: Sun, 18 Feb 1996 10:44:59 -0800 (PST) From: Wolfram Schneider Message-Id: <199602181844.KAA27235@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/mv mv.1 mv.c Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk wosch 96/02/18 10:44:59 Modified: bin/mv mv.1 mv.c Log: option -f and -i are exclusive all flag variables initialized with zero respond `Y' is equal to `y' update usage string prompt only if source exist ignore -i option if file descriptor stdin not refers to a valid terminal type device Revision Changes Path 1.4 +14 -5 src/bin/mv/mv.1 1.4 +16 -5 src/bin/mv/mv.c From owner-cvs-bin Sun Feb 18 10:48:38 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA27501 for cvs-bin-outgoing; Sun, 18 Feb 1996 10:48:38 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA27477 Sun, 18 Feb 1996 10:48:28 -0800 (PST) Date: Sun, 18 Feb 1996 10:48:28 -0800 (PST) From: Wolfram Schneider Message-Id: <199602181848.KAA27477@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/cp cp.1 cp.c extern.h utils.c Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk wosch 96/02/18 10:48:28 Modified: bin/cp cp.1 cp.c extern.h utils.c Log: Option -f implemented (remove + create) option -f and -i are exclusive all flag variables initialized with zero respond `Y' is equal to `y' update usage string Revision Changes Path 1.3 +16 -7 src/bin/cp/cp.1 1.7 +7 -4 src/bin/cp/cp.c 1.3 +2 -2 src/bin/cp/extern.h 1.6 +14 -5 src/bin/cp/utils.c From owner-cvs-bin Sun Feb 18 11:01:07 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA28117 for cvs-bin-outgoing; Sun, 18 Feb 1996 11:01:07 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA28103 Sun, 18 Feb 1996 11:01:01 -0800 (PST) Date: Sun, 18 Feb 1996 11:01:01 -0800 (PST) From: Wolfram Schneider Message-Id: <199602181901.LAA28103@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/rm rm.c Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk wosch 96/02/18 11:01:01 Modified: bin/rm rm.c Log: update usage string all flag variables initialized with zero respond `Y' is equal to `y' Revision Changes Path 1.7 +6 -5 src/bin/rm/rm.c From owner-cvs-bin Sun Feb 18 11:54:14 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA00603 for cvs-bin-outgoing; Sun, 18 Feb 1996 11:54:14 -0800 (PST) Received: (from pst@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA00585 Sun, 18 Feb 1996 11:54:05 -0800 (PST) Date: Sun, 18 Feb 1996 11:54:05 -0800 (PST) From: Paul Traina Message-Id: <199602181954.LAA00585@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/rm rm.c Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk pst 96/02/18 11:54:05 Modified: bin/rm rm.c Log: Remove unnecessary '?' case and don't zero global udata, it's already zero Revision Changes Path 1.8 +4 -5 src/bin/rm/rm.c From owner-cvs-bin Sun Feb 18 11:57:26 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA00879 for cvs-bin-outgoing; Sun, 18 Feb 1996 11:57:26 -0800 (PST) Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA00864 Sun, 18 Feb 1996 11:57:19 -0800 (PST) Received: from localhost.shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.7.3/8.7.3) with SMTP id LAA05531; Sun, 18 Feb 1996 11:56:47 -0800 (PST) Message-Id: <199602181956.LAA05531@precipice.shockwave.com> X-Mailer: exmh version 1.6.5 12/11/95 To: Wolfram Schneider cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org Subject: Re: cvs commit: src/bin/mv mv.1 mv.c In-reply-to: Your message of "Sun, 18 Feb 1996 10:44:59 PST." <199602181844.KAA27235@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 18 Feb 1996 11:56:47 -0800 From: Paul Traina Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk > wosch 96/02/18 10:44:59 > > Modified: bin/mv mv.1 mv.c > Log: > option -f and -i are exclusive > all flag variables initialized with zero > respond `Y' is equal to `y' > update usage string > prompt only if source exist > > ignore -i option if file descriptor stdin not refers to a valid > terminal type device > > Revision Changes Path > 1.4 +14 -5 src/bin/mv/mv.1 > 1.4 +16 -5 src/bin/mv/mv.c > I don't recall seeing a discussion about this in current. This would tend to break mv -i run from a pipe, wouldn't it? From owner-cvs-bin Sun Feb 18 13:32:44 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA05269 for cvs-bin-outgoing; Sun, 18 Feb 1996 13:32:44 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA05235 Sun, 18 Feb 1996 13:32:31 -0800 (PST) Received: by sovcom.kiae.su id AA01294 (5.65.kiae-1 ); Mon, 19 Feb 1996 00:27:22 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Mon, 19 Feb 96 00:27:21 +0300 Received: (from ache@localhost) by ache.dialup.ru (8.7.3/8.7.3) id AAA01347; Mon, 19 Feb 1996 00:25:57 +0300 (MSK) To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, Wolfram Schneider References: <199602181901.LAA28103@freefall.freebsd.org> In-Reply-To: <199602181901.LAA28103@freefall.freebsd.org>; from Wolfram Schneider at Sun, 18 Feb 1996 11:01:01 -0800 (PST) Message-Id: Organization: Olahm Ha-Yetzirah Date: Mon, 19 Feb 1996 00:25:57 +0300 (MSK) X-Mailer: Mail/@ [v2.42 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: cvs commit: src/bin/rm rm.c Lines: 12 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk In message <199602181901.LAA28103@freefall.freebsd.org> Wolfram Schneider writes: > all flag variables initialized with zero Please back out this one. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 From owner-cvs-bin Sun Feb 18 13:32:47 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA05279 for cvs-bin-outgoing; Sun, 18 Feb 1996 13:32:47 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA05234 Sun, 18 Feb 1996 13:32:31 -0800 (PST) Received: by sovcom.kiae.su id AA01273 (5.65.kiae-1 ); Mon, 19 Feb 1996 00:27:17 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Mon, 19 Feb 96 00:27:16 +0300 Received: (from ache@localhost) by ache.dialup.ru (8.7.3/8.7.3) id AAA01336; Mon, 19 Feb 1996 00:25:02 +0300 (MSK) To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, Wolfram Schneider References: <199602181844.KAA27235@freefall.freebsd.org> In-Reply-To: <199602181844.KAA27235@freefall.freebsd.org>; from Wolfram Schneider at Sun, 18 Feb 1996 10:44:59 -0800 (PST) Message-Id: Organization: Olahm Ha-Yetzirah Date: Mon, 19 Feb 1996 00:25:02 +0300 (MSK) X-Mailer: Mail/@ [v2.42 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: cvs commit: src/bin/mv mv.1 mv.c Lines: 31 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk In message <199602181844.KAA27235@freefall.freebsd.org> Wolfram Schneider writes: Please, not so fast! >wosch 96/02/18 10:44:59 > Modified: bin/mv mv.1 mv.c > Log: > option -f and -i are exclusive > all flag variables initialized with zero Don't do it, they go to data from bss in this case! > respond `Y' is equal to `y' > update usage string > prompt only if source exist > ignore -i option if file descriptor stdin not refers to a valid > terminal type device It seems that it breaks yes | mv -i at least. What POSIX say about it? -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 From owner-cvs-bin Sun Feb 18 13:32:44 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA05267 for cvs-bin-outgoing; Sun, 18 Feb 1996 13:32:44 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA05233 Sun, 18 Feb 1996 13:32:31 -0800 (PST) Received: by sovcom.kiae.su id AA01275 (5.65.kiae-1 ); Mon, 19 Feb 1996 00:27:18 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Mon, 19 Feb 96 00:27:17 +0300 Received: (from ache@localhost) by ache.dialup.ru (8.7.3/8.7.3) id AAA01342; Mon, 19 Feb 1996 00:25:36 +0300 (MSK) To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, Wolfram Schneider References: <199602181848.KAA27477@freefall.freebsd.org> In-Reply-To: <199602181848.KAA27477@freefall.freebsd.org>; from Wolfram Schneider at Sun, 18 Feb 1996 10:48:28 -0800 (PST) Message-Id: Organization: Olahm Ha-Yetzirah Date: Mon, 19 Feb 1996 00:25:35 +0300 (MSK) X-Mailer: Mail/@ [v2.42 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: cvs commit: src/bin/cp cp.1 cp.c extern.h utils.c Lines: 12 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk In message <199602181848.KAA27477@freefall.freebsd.org> Wolfram Schneider writes: > all flag variables initialized with zero Please, back out this one. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 From owner-cvs-bin Sun Feb 18 15:22:12 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA11424 for cvs-bin-outgoing; Sun, 18 Feb 1996 15:22:12 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA11370 Sun, 18 Feb 1996 15:21:51 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA29222; Mon, 19 Feb 1996 00:21:44 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id AAA09983; Mon, 19 Feb 1996 00:21:43 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id AAA09188; Mon, 19 Feb 1996 00:12:16 +0100 (MET) From: J Wunsch Message-Id: <199602182312.AAA09188@uriah.heep.sax.de> Subject: Re: cvs commit: src/bin/mv mv.1 mv.c To: ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=) Date: Mon, 19 Feb 1996 00:12:15 +0100 (MET) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, wosch@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Feb 19, 96 00:25:02 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk As =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > > option -f and -i are exclusive This breaks Posix: The following options shall be supported by the implementation: -f Do not prompt for confirmation if the destination path exists. Any previous occurrences of the -i option shall be ignored. -i Prompt for confirmation if the destination path exists. Any previous occurrences of the -f option shall be ignored. Specifying more than one of the -f or -i options shall not be considered an error. The last option specified shall determine mv's behavior. > > ignore -i option if file descriptor stdin not refers to a valid > > terminal type device > > It seems that it breaks > yes | mv -i > at least. > What POSIX say about it? 4.43.5.1 Standard Input Used to read an input line in response to each prompt specified in Standard Error. 4.43.6.2. Otherwise, the standard input shall not be used. So it doesn't look that Posix would allow a special treatment of terminal devices. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-bin Sun Feb 18 16:44:30 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA15618 for cvs-bin-outgoing; Sun, 18 Feb 1996 16:44:30 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA15599 Sun, 18 Feb 1996 16:44:21 -0800 (PST) Date: Sun, 18 Feb 1996 16:44:21 -0800 (PST) From: Wolfram Schneider Message-Id: <199602190044.QAA15599@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/cp cp.1 cp.c extern.h utils.c src/bin/rm rm.c src/bin/mv mv.1 mv.c Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk wosch 96/02/18 16:44:20 Modified: bin/cp cp.1 cp.c extern.h utils.c bin/rm rm.c bin/mv mv.1 mv.c Log: delete my last commit Submitted by: pst, ache Revision Changes Path 1.4 +6 -15 src/bin/cp/cp.1 1.8 +3 -6 src/bin/cp/cp.c 1.4 +1 -1 src/bin/cp/extern.h 1.7 +4 -13 src/bin/cp/utils.c 1.9 +5 -5 src/bin/rm/rm.c 1.5 +4 -13 src/bin/mv/mv.1 1.5 +4 -15 src/bin/mv/mv.c From owner-cvs-bin Sun Feb 18 21:51:23 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA03539 for cvs-bin-outgoing; Sun, 18 Feb 1996 21:51:23 -0800 (PST) Received: (from pst@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA03519 Sun, 18 Feb 1996 21:51:14 -0800 (PST) Date: Sun, 18 Feb 1996 21:51:14 -0800 (PST) From: Paul Traina Message-Id: <199602190551.VAA03519@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/mv mv.c Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk pst 96/02/18 21:51:14 Modified: bin/mv mv.c Log: -- is implemented in getopt(3) -? is an unnecessary case statement and not useful Revision Changes Path 1.6 +2 -5 src/bin/mv/mv.c From owner-cvs-bin Sun Feb 18 21:56:44 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA03855 for cvs-bin-outgoing; Sun, 18 Feb 1996 21:56:44 -0800 (PST) Received: (from pst@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA03835 Sun, 18 Feb 1996 21:56:35 -0800 (PST) Date: Sun, 18 Feb 1996 21:56:35 -0800 (PST) From: Paul Traina Message-Id: <199602190556.VAA03835@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/cp cp.c utils.c Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk pst 96/02/18 21:56:35 Modified: bin/cp cp.c utils.c Log: Don't initialize udata, remove bogus case, fix usage string Revision Changes Path 1.9 +2 -3 src/bin/cp/cp.c 1.8 +3 -3 src/bin/cp/utils.c From owner-cvs-bin Sun Feb 18 21:57:27 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA03943 for cvs-bin-outgoing; Sun, 18 Feb 1996 21:57:27 -0800 (PST) Received: (from pst@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA03928 Sun, 18 Feb 1996 21:57:24 -0800 (PST) Date: Sun, 18 Feb 1996 21:57:24 -0800 (PST) From: Paul Traina Message-Id: <199602190557.VAA03928@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/rm rm.c Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk pst 96/02/18 21:57:22 Modified: bin/rm rm.c Log: Don't initialize udata, fix usage string Revision Changes Path 1.10 +3 -4 src/bin/rm/rm.c From owner-cvs-bin Mon Feb 19 00:45:36 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA12078 for cvs-bin-outgoing; Mon, 19 Feb 1996 00:45:36 -0800 (PST) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA12069 Mon, 19 Feb 1996 00:45:31 -0800 (PST) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0toRD1-0003xIC; Mon, 19 Feb 96 00:44 PST Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id HAA00263; Mon, 19 Feb 1996 07:51:57 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, Wolfram Schneider Subject: Re: cvs commit: src/bin/mv mv.1 mv.c In-reply-to: Your message of "Mon, 19 Feb 1996 00:25:02 +0300." Date: Mon, 19 Feb 1996 07:51:51 +0100 Message-ID: <261.824712711@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk > > Modified: bin/mv mv.1 mv.c > > Log: > > option -f and -i are exclusive > > all flag variables initialized with zero > > Don't do it, they go to data from bss in this case! But only if the compiler is stupid. > > ignore -i option if file descriptor stdin not refers to a valid > > terminal type device > > It seems that it breaks > yes | mv -i > at least. > What POSIX say about it? Why would you want to do yes | mv -i as opposed to mv -f ? -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-bin Mon Feb 19 04:03:15 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA22350 for cvs-bin-outgoing; Mon, 19 Feb 1996 04:03:15 -0800 (PST) Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA22329 Mon, 19 Feb 1996 04:02:34 -0800 (PST) Received: by sequent.kiae.su id AA16191 (5.65.kiae-2 ); Mon, 19 Feb 1996 14:38:23 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Mon, 19 Feb 96 14:38:23 +0300 Received: (from ache@localhost) by ache.dialup.ru (8.7.3/8.7.3) id OAA00586; Mon, 19 Feb 1996 14:25:00 +0300 (MSK) To: Poul-Henning Kamp Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, Wolfram Schneider References: <261.824712711@critter.tfs.com> In-Reply-To: <261.824712711@critter.tfs.com>; from Poul-Henning Kamp at Mon, 19 Feb 1996 07:51:51 +0100 Message-Id: Organization: Olahm Ha-Yetzirah Date: Mon, 19 Feb 1996 14:25:00 +0300 (MSK) X-Mailer: Mail/@ [v2.42 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: cvs commit: src/bin/mv mv.1 mv.c Lines: 33 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk In message <261.824712711@critter.tfs.com> Poul-Henning Kamp writes: >> > Modified: bin/mv mv.1 mv.c >> > Log: >> > option -f and -i are exclusive >> > all flag variables initialized with zero >> >> Don't do it, they go to data from bss in this case! >But only if the compiler is stupid. It seems that our compiler is stupid :-) BTW, what is other way to move zeroes to data if you need data exactly and not bss? >Why would you want to do > yes | mv -i >as opposed to > mv -f >? I don't mean to type it. It maybe some script processing. ANS=no yes ${ANS} | rm -i f1 f2 ... of course, it can be done differently :-) -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849 From owner-cvs-bin Mon Feb 19 04:33:37 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA23157 for cvs-bin-outgoing; Mon, 19 Feb 1996 04:33:37 -0800 (PST) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA23152 Mon, 19 Feb 1996 04:33:35 -0800 (PST) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0toUfm-0003wDC; Mon, 19 Feb 96 04:26 PST Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id NAA00869; Mon, 19 Feb 1996 13:26:28 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, Wolfram Schneider Subject: Re: cvs commit: src/bin/mv mv.1 mv.c In-reply-to: Your message of "Mon, 19 Feb 1996 14:25:00 +0300." Date: Mon, 19 Feb 1996 13:26:23 +0100 Message-ID: <867.824732783@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk > In message <261.824712711@critter.tfs.com> Poul-Henning Kamp writes: > > >> > Modified: bin/mv mv.1 mv.c > >> > Log: > >> > option -f and -i are exclusive > >> > all flag variables initialized with zero > >> > >> Don't do it, they go to data from bss in this case! > > >But only if the compiler is stupid. > > It seems that our compiler is stupid :-) could easily be :-( > BTW, what is other way to move zeroes to data if you need > data exactly and not bss? And then again, why would you need that ??? > ANS=no > yes ${ANS} | rm -i f1 f2 ... > > of course, it can be done differently :-) Don't do that then... -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-bin Mon Feb 19 06:32:45 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA26621 for cvs-bin-outgoing; Mon, 19 Feb 1996 06:32:45 -0800 (PST) Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA26518 Mon, 19 Feb 1996 06:30:58 -0800 (PST) Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.17.12]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id OAA05161; Mon, 19 Feb 1996 14:09:37 +0100 From: Wolfram Schneider Received: (wosch@localhost) by caramba.cs.tu-berlin.de (8.6.12/8.6.9) id OAA29857; Mon, 19 Feb 1996 14:09:34 +0100 Date: Mon, 19 Feb 1996 14:09:34 +0100 Message-Id: <199602191309.OAA29857@caramba.cs.tu-berlin.de> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=), CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, wosch@freefall.freebsd.org Subject: Re: cvs commit: src/bin/mv mv.1 mv.c In-Reply-To: <199602182312.AAA09188@uriah.heep.sax.de> References: <199602182312.AAA09188@uriah.heep.sax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Conversion: prohibited Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk J. Wunsch writes: >As =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > >> > option -f and -i are exclusive > >This breaks Posix: No. > > The following options shall be supported by the implementation: > > -f [...] >Any previous occurrences of the -i option shall be ignored. Ignored by FreeBSD in source code, iflg is still 1 > -i [...] >Any previous occurrences of the -f option shall be ignored. Ignored by FreeBSD > Specifying more than one of the -f or -i options shall not be considered > an error. The last option specified shall determine mv's behavior. Ignored by FreeBSD. $ touch a b;mv -fi a b $ From owner-cvs-bin Tue Feb 20 01:49:12 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA03330 for cvs-bin-outgoing; Tue, 20 Feb 1996 01:49:12 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA03312 Tue, 20 Feb 1996 01:48:57 -0800 (PST) Date: Tue, 20 Feb 1996 01:48:57 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199602200948.BAA03312@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/test test.c Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk jkh 96/02/20 01:48:57 Branch: bin/test RELENG_2_1_0 Modified: bin/test test.c Log: Merge in broken `test -h' functionality from -current. This also accounts for the weird behavioral differences that Satoshi and I saw when testing out the new link testing changes to bsd.port.mk - he was running -current and I -stable. Revision Changes Path 1.11.4.1 +2 -2 src/bin/test/test.c From owner-cvs-bin Tue Feb 20 02:59:16 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA06364 for cvs-bin-outgoing; Tue, 20 Feb 1996 02:59:16 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA06333 Tue, 20 Feb 1996 02:59:03 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id CAA24045; Tue, 20 Feb 1996 02:58:25 -0800 To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org Subject: Re: cvs commit: src/bin/test test.c In-reply-to: Your message of "Tue, 20 Feb 1996 01:48:57 PST." <199602200948.BAA03312@freefall.freebsd.org> Date: Tue, 20 Feb 1996 02:58:25 -0800 Message-ID: <24043.824813905@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk > jkh 96/02/20 01:48:57 > > Branch: bin/test RELENG_2_1_0 > Modified: bin/test test.c > Log: > Merge in broken `test -h' functionality from -current. This also Boy, that's not one of my better-worded commit messages, is it? I meant to say that this merged in the fix for broken `test -h' handling, not that I've brought in broken functionality from -current. :-) Jordan From owner-cvs-bin Tue Feb 20 15:28:23 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA14113 for cvs-bin-outgoing; Tue, 20 Feb 1996 15:28:23 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA14014 Tue, 20 Feb 1996 15:27:59 -0800 (PST) Date: Tue, 20 Feb 1996 15:27:59 -0800 (PST) From: Wolfram Schneider Message-Id: <199602202327.PAA14014@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/mv mv.1 mv.c Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk wosch 96/02/20 15:27:58 Modified: bin/mv mv.1 mv.c Log: option -f and -i are exclusive (Posix) respond `Y' is equal to `y' update usage string prompt only if source exist Revision Changes Path 1.6 +14 -5 src/bin/mv/mv.1 1.7 +15 -4 src/bin/mv/mv.c From owner-cvs-bin Tue Feb 20 15:29:59 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA14186 for cvs-bin-outgoing; Tue, 20 Feb 1996 15:29:59 -0800 (PST) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id PAA14180 Tue, 20 Feb 1996 15:29:52 -0800 (PST) Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.17.12]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id AAA13916; Wed, 21 Feb 1996 00:21:09 +0100 Received: (from wosch@localhost) by localhost (8.6.9/8.6.9) id AAA01637; Wed, 21 Feb 1996 00:01:01 +0100 Date: Wed, 21 Feb 1996 00:01:01 +0100 From: Wolfram Schneider Message-Id: <199602202301.AAA01637@localhost> To: Paul Traina Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org Subject: cvs commit: src/bin/mv mv.c In-Reply-To: <199602190551.VAA03519@freefall.freebsd.org> References: <199602190551.VAA03519@freefall.freebsd.org> Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk Paul Traina writes: >pst 96/02/18 21:51:14 > > Modified: bin/mv mv.c > Log: > -? is an unnecessary case statement and not useful Oh Sisyphus, there are 289 files with an unnecessary case statement '?'! You have my vote for the committer of the decade :-) Wolfram From owner-cvs-bin Thu Feb 22 11:51:51 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA11809 for cvs-bin-outgoing; Thu, 22 Feb 1996 11:51:51 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA11789 Thu, 22 Feb 1996 11:51:42 -0800 (PST) Date: Thu, 22 Feb 1996 11:51:42 -0800 (PST) From: Peter Wemm Message-Id: <199602221951.LAA11789@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/ps ps.1 ps.c Sender: owner-cvs-bin@FreeBSD.ORG Precedence: bulk peter 96/02/22 11:51:42 Branch: bin/ps RELENG_2_1_0 Modified: bin/ps ps.1 ps.c Log: Bring ps -U username from -current. Revision Changes Path 1.4.6.2 +7 -3 src/bin/ps/ps.1 1.7.4.1 +15 -4 src/bin/ps/ps.c