This is the mail archive of the
mailing list for the Cygwin project.
Re: cp, install, and the .exe extension
Christopher Faylor <firstname.lastname@example.org> wrote:
> On Thu, Feb 19, 2004 at 10:09:55PM +0000, Robert R Schneck wrote:
>>If I replace "copy.c" with either of the other two and rebuild, I get a
>>"cp" which *does* have special handling for the .exe extension.
>>Did the fileutils maintainer just forget to do this?
Indeed. Does this mean there is some reason that it is considered
harmful to have cp do it, but appropriate to have install do it?
If so, can you explain? I don't question, I'm just curious!
In any case, I'd like to put in a request to change the error message cp
gives when "cp foo bar" is tried and only foo.exe exists.
Currently it says
cp: `foo' and `bar' are the same file
which is needlessly obscure.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html