Date: 28 Sep 1997 23:23:43 +0200 From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: Bruce Evans <bde@zeta.org.au> Cc: cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG, cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/bin/mv mv.c Message-ID: <p1i3empceu7.fsf@panke.panke.de> In-Reply-To: Bruce Evans's message of Sun, 28 Sep 1997 21:30:43 %2B1000 References: <199709281130.VAA17274@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans <bde@zeta.org.au> writes: > > $ touch from to > > $ echo -n loop | mv -i from to > > overwrite to? > > ^C > > You need more context in the example so that ^C doesn't kill mv. ^C intentionally killed mv(1) in the example above. What should you do with a process which eat all your CPU time? mv(1) print the message 'overwrite to? ' to stdout, read the characters 'l', 'o', 'o', 'p' from stdin, read 'EOF' from stdin and ignores it and try to read characters beyond EOF in an endless loop. -- Wolfram Schneider <wosch@apfel.de> http://www.apfel.de/~wosch/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p1i3empceu7.fsf>
