From owner-freebsd-commit Mon Feb 19 00:45:52 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA12109 for freebsd-commit-outgoing; Mon, 19 Feb 1996 00:45:52 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA12102 for cvs-all-outgoing; Mon, 19 Feb 1996 00:45:49 -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-commit@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.