delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/06/18:25:07

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
Message-ID: <3CD702B1.F3C8407C@merl.com>
Date: Mon, 06 May 2002 18:24:49 -0400
From: -CRL- Consultant Ali Azarbayejani <ali AT merl DOT com>
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: cp (fileutils) 4.1: inconsistent behavior with .exe arguments

Try this:

$ ls /usr/bin/touch*
/usr/bin/touch.exe
$ cp /usr/bin/touch .
$ ls
touch.exe

  ## Note: isn't that clever? (cp hallucinates the ".exe" extension
  ## allowing a more unix-like syntax)...

$ cp touch "#inst.123#"
$ cp touch "#inst.1234#"
$ ls
#inst.123#  #inst.1234#.exe  touch.exe

  ## Note: ...sometimes, but not others

$ cp --version
cp (fileutils) 4.1
Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.

Copyright (C) 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


  ## Note: this breaks my installation attempt of gcc-3.0.4, but it
  ## looks like a Cygwin bug so I thought I'd report it.  Is this a
  ## bug?

  ## Note: i believe this behaves the same with any .exe file; I just
  ## grabbed one from /usr/bin

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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