delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/14/23:15:20

From: hank AT watson DOT ibm DOT com (Henry S. Warren, Jr.)
Subject: B20, Win95: cp destroys file
14 Nov 1998 23:15:20 -0800 :
Message-ID: <364E3A39.6A5.cygnus.gnu-win32@watson.ibm.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

If you copy, using cp, a file to itself, and the target and source files
differ in capitalization, then the content of the file is wiped out; it
becomes a file of 0-length.  Example: "cp hilbert.c hilbert.C" trashes
file hilbert.c.  
   The Win95 "copy" command gives the error message "File cannot be
copied onto itself" in this situation (much preferable)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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