Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 1996 07:51:51 +0100
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su>
Cc:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, Wolfram Schneider <wosch@freefall.freebsd.org>
Subject:   Re: cvs commit: src/bin/mv mv.1 mv.c 
Message-ID:  <261.824712711@critter.tfs.com>
In-Reply-To: Your message of "Mon, 19 Feb 1996 00:25:02 %2B0300." <tCkav9nGI5@ache.dialup.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >  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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?261.824712711>