Xref: utzoo comp.unix.questions:9233 comp.bugs.4bsd:988 comp.bugs.sys5:556 Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!mailrus!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.unix.questions,comp.bugs.4bsd,comp.bugs.sys5 Subject: Re: another unix joke Keywords: rmdir joke Message-ID: <3966@bsu-cs.UUCP> Date: 15 Sep 88 16:43:23 GMT References: <8488@smoke.ARPA> <26090@ucbvax.BERKELEY.EDU> Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 14 I like the fact that 4.3BSD treats names like "xyz/" correctly. Under System V Release 2, if you give a command like mv junk xyz/ your obvious intent is to move the file "junk" into the directory "xyz". But if the directory "xyz" does not exist, then "junk" just gets renamed to "xyz". The joke is on the user. Under 4.3BSD if you type "mv junk xyz/" and the directory "xyz" does not exist you get an error message. For obvious reasons, I added comp.bugs.sys5 to the newsgroups list. -- Rahul Dhesi UUCP: !{iuvax,pur-ee,uunet}!bsu-cs!dhesi