gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Minor quibbles


From: Pierce T . Wetter III
Subject: [Gnu-arch-users] Minor quibbles
Date: Wed, 17 Mar 2004 08:18:28 -0700



1. I think that "remove" is the inverse of add, not delete.

2. It's move, and mv, but delete and rm?

3. Since we already have delete, remove should be a synonym for delete, and delete should perhaps even be deprecated (print out a warning message).

4. As some one pointed out earlier, move and mv is a bit strange, better to be explicit:

   move  (deprecate)
   mv-id  (new name for move)
   mv     (do id, plus file)


So then we would have:


   move (as mv-id, but prints deprecated message)
   delete (as rm-id, but prints deprecated message)
   mv-id
   rm-id
   mv
   rm

Though while those are self consistent, the bummer about those is that "mv" and "rm" are kind of unix-centric, and a little terse.

 So I would actually do the following:

 terse commands:
   mv-id
   rm-id
   mv
   rm

 verbose commands:
   move  (does mv-id)
   move --file (does mv, i.e. both moves the id and the file)
   delete (does rm-id)
   delete --file (does rm, i.e. both removes the id and the file)

  verbose synonyms:
   rename  (does mv-id)
   rename --file (does mv, i.e. both moves the id and the file)
   remove (does rm-id)
   remove --file (does rm, i.e. both removes the id and the file)

That's my $.02 on naming.

 Pierce





reply via email to

[Prev in Thread] Current Thread [Next in Thread]