🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #697

Re: more thoughts on fileutils

#697
From: david carlton
Date: Mon, 31 Aug 1992 18:59
21 lines
1454 bytes
In article <9208282057.AA12744@wookumz.gnu.ai.mit.edu>, mib@gnu.ai.mit.edu (Michael I Bushnell) writes:

> In GNU, nodes can be both directories and ordinary files.
...
> Suppose "foo" is such a node.  In that case "mv bar foo" should
> delete the existing foo (and the virtual hierarchy underneath it),
> replacing it with bar.  "mv bar foo/" should move bar into the
> directory foo, giving it the name foo/bar, and leaving the rest of
> the virtual hierarchy under foo untouched.

This sounds really bad to me.  If foo is going to act like a
directory, it should act like a directory, and one of the qualities of
acting like a directory is that "mv bar foo" renames "bar" to
"foo/bar".  If you do things any other way, then all sorts of typing
idioms that people have are no longer going to work, shell scripts and
programs are going to break, and so forth.

david carlton
carlton@husc.harvard.edu

       Go on, EMOTE!  I was RAISED on thought balloons!!
Technical Details
Message-ID: <01GO8HLZW29SATKOYN@HUSC3.HARVARD.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!scws8.harvard.edu!carlton
References: <9208282057.AA12744@wookumz.gnu.ai.mit.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!scws8.harvard.edu!carlton
From: carlton@scws8.harvard.edu (david carlton)
Subject: Re: more thoughts on fileutils
Message-ID: <01GO8HLZW29SATKOYN@HUSC3.HARVARD.EDU>
Sender: gnulists@ai.mit.edu
Organization: Citizens for Boysenberry Jam
References: <9208282057.AA12744@wookumz.gnu.ai.mit.edu>
Distribution: gnu
Date: Mon, 31 Aug 1992 18:59:07 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 22