Article View: gnu.utils.bug
Article #713more thoughts on fileutils
From: David J Camp
Date: Wed, 02 Sep 1992 02:48
Date: Wed, 02 Sep 1992 02:48
25 lines
1860 bytes
1860 bytes
On 31 Aug 92 14:59:07, bug-gnu-utils-request@prep.ai.mit.edu wrote: : 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. I suggest that mib write a distinct command called something other than 'mv' that does what he wants it to do. -David- # david%campfire@wupost.wustl.edu ^ David J. Camp # # wupost.wustl.edu!campfire!david < * > +1 314 382 0584 # # campfire!david@wupost.wustl.edu v "God loves material things." # # I am a member of the League for Programming Freedom. #
Technical Details
Message-ID:
<2aa42b9c.campfire@campfire.stl.mo.us>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!campfire.stl.mo.US!davidShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!campfire.stl.mo.US!david From: david@campfire.stl.mo.US (David J Camp) Subject: more thoughts on fileutils Message-ID: <2aa42b9c.campfire@campfire.stl.mo.us> Sender: gnulists@ai.mit.edu Reply-To: "David J Camp" <campfire!david@wupost.wustl.edu> Organization: GNUs Not Usenet Distribution: gnu Date: Wed, 2 Sep 1992 02:48:58 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 26