This is the mail archive of the
mailing list for the Cygwin project.
Re: Inconsistence on file operation when the name already exists with exe extension
On 7/8/2012 10:19 PM, Aaron Schneider wrote:
--On an empty dir--:
touch file doesn't create the corresponding file.
cp helpp file
cp: can't create regular file «file»: File exists
On rm file it removes the file.exe instead of saying file not found.
Is this behavior intended? This is not unix like, the filename should be preserved as is
In a normal unix, programs do not need the exe suffix so on cygwin
"file.exe" can be referred as "file".
"file" is the unix way
"file.exe" is the windows way
$ cd /bin
$ ls -l bash
$ ls -l bash*
as such you can not have a second file or directory with the same name.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple