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