This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: How to make `mv the hard way' fail


> -----Original Message-----
> From: cygwin-owner On Behalf Of Shankar Unni
> Sent: 13 December 2004 19:21

> By the way, what do folks think of tying this to the "-i" 
> functionality?
> 
> Currently, "-i" is defined as "prompt before overwriting" 
> (i.e. if the 
> target is *not* present, it still does things silently, else it 
> prompts).  Sounds like a fine candidate for "prompt before 
> copying" as well, as in "prompt before overwriting or 
> moving-directories-by-copying"..


  No, for two reasons:

1)  Overloading a flag with two different meanings is obfuscatory.
2)  Changing the behaviour/semantics of an existing flag may adversely impact on
existing scripts/utilities.

  Therefore I'd say "It's a new feature, so make it a new flag."


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]