Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 alpha 4/3/85; site ukma.UUCP Path: utzoo!watmath!clyde!cbosgd!ukma!sean From: sean@ukma.UUCP (Sean Casey) Newsgroups: net.bugs,net.unix-wizards Subject: Re: 'mv foo ..' when . is foo Message-ID: <2092@ukma.UUCP> Date: Sun, 1-Sep-85 23:35:56 EDT Article-I.D.: ukma.2092 Posted: Sun Sep 1 23:35:56 1985 Date-Received: Tue, 3-Sep-85 00:51:26 EDT References: <256@aoa.UUCP> <823@burl.UUCP> <118@cithep.UucP> Reply-To: sean@ukma.UUCP (Sean Casey) Organization: The White Tower @ The Univ. of KY Lines: 25 Xref: watmath net.bugs:681 net.unix-wizards:14675 In article <118@cithep.UucP> tim@cithep.UucP (Tim Smith ) writes: >At cithep, this is what happens: > >$ mkdir foo >$ cd foo >$ touch foo >$ mv foo .. >mv: ../foo is a directory >$ >I don't quite know what version of UNIX cithep is any more ( At one >time this machine had parts or 32V, TS 1.?, Sys III, and 4.1bsd >pageing code ( cleaned up, of course )). God only knows where mv >came from! Uhhh, this is correct behavior for mv. What you are trying to do is clobber a directory by moving a file, a definite no-no. Sean -- - Sean Casey UUCP: sean@ukma.UUCP or - Department of Mathematics {cbosgd,anlams,hasmed}!ukma!sean - University of Kentucky ARPA: ukma!sean@ANL-MCS.ARPA