delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/20/13:33:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Robert R Schneck <schneck AT math DOT berkeley DOT edu>
Subject: Re: cp, install, and the .exe extension
Date: Fri, 20 Feb 2004 18:33:20 +0000 (UTC)
Lines: 19
Message-ID: <c15jtg$jmj$1@sea.gmane.org>
References: <c13c7j$ue4$1 AT sea DOT gmane DOT org> <20040219232350 DOT GE23994 AT redhat DOT com>
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 80.45.130.58
User-Agent: slrn/0.9.8.0 (CYGWIN_NT-5.1)

Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> 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?
>
> No.

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.

Robert


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019