This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Odd error message from cp and mv when omitting .exe suffix
- From: "Dr.D.J.Picton" <dave at aps5 dot ph dot bham dot ac dot uk>
- To: cygwin at cygwin dot com
- Date: Wed, 15 Oct 2003 10:38:01 +0100 (BST)
- Subject: Odd error message from cp and mv when omitting .exe suffix
- Reply-to: "Dr.D.J.Picton" <dave at aps5 dot ph dot bham dot ac dot uk>
I have noticed an oddity in the behaviour of the cp command. It gives
an incorrect error message when I try to copy an .exe file but refer to it
without the .exe suffix:
cp calc /usr/local/bin/calc.new
This produces the incorrect message:
cp: calc and /usr/local/bin/calc.new are the same file.
The mv command also shows the bug.
--
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/