🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #455

Re: 'mv foo ..' when . is foo

#455
From: Curtis Jackson
Date: Sun, 25 Aug 1985 14:42
23 lines
1134 bytes
I am running Sys V r2, and here is what happens when I do what you talked
about as root:

# mkdir foo
# cd foo
# touch foo
# mv foo ..
# pwd
/emsp/rcj/test/foo
# cd ..
# ls -ld foo
-rw-r--r--   1 root     sys            0 Aug 25 10:36 foo
# cd foo
mycd: foo: bad directory
#

So the behavior is apparently different from both your Sys V port and
from 4.?BSD.
-- 

The MAD Programmer -- 919-228-3313 (Cornet 291)
alias: Curtis Jackson	...![ ihnp4 ulysses cbosgd mgnetp ]!burl!rcj
			...![ ihnp4 cbosgd akgua masscomp ]!clyde!rcj
Technical Details
Message-ID: <823@burl.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!rcj
References: <256@aoa.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site burl.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!rcj
From: rcj@burl.UUCP (Curtis Jackson)
Newsgroups: net.bugs,net.unix-wizards
Subject: Re: 'mv foo ..' when . is foo
Message-ID: <823@burl.UUCP>
Date: Sun, 25-Aug-85 10:42:27 EDT
Article-I.D.: burl.823
Posted: Sun Aug 25 10:42:27 1985
Date-Received: Mon, 26-Aug-85 01:13:14 EDT
References: <256@aoa.UUCP>
Reply-To: rcj@burl.UUCP (Curtis Jackson)
Distribution: net
Organization: AT&T Technologies, Burlington NC
Lines: 23