Re: Cygwin-1.7.7: mv appends .exe to directory if matching .exe exists

2011-01-04 Thread Steven Hartland
- Original Message - From: "Eric Blake" On 01/04/2011 12:01 PM, Steven Hartland wrote: It really feels like so called consistency is being enforced over functionality which is sad as I always though cygwin's goal was to make Unix look and feel under windows? With the Unix look and feel

Re: Cygwin-1.7.7: mv appends .exe to directory if matching .exe exists

2011-01-04 Thread Eric Blake
On 01/04/2011 12:01 PM, Steven Hartland wrote: > It really feels like so called consistency is being enforced over > functionality > which is sad as I always though cygwin's goal was to make Unix look and > feel > under windows? With the Unix look and feel, do you type 'ls file' or 'ls.exe file'?

Re: Cygwin-1.7.7: mv appends .exe to directory if matching .exe exists

2011-01-04 Thread Steven Hartland
- Original Message - From: "David Mastronarde" You CAN'T have a directory and an executable sharing the same name on Linux, so why should you try the same thing on cygwin? Given that cygwin attempts to handle '.exe' as a necessary evil, and tries to recognize executables when the suff

Re: Cygwin-1.7.7: mv appends .exe to directory if matching .exe exists

2011-01-04 Thread David Mastronarde
On Tue, 4 Jan 2011, Eric Blake wrote: On 01/04/2011 09:27 AM, David Mastronarde wrote: When there is a directory and an executable with the same name, mv adds .exe when renaming the directory: % mkdir test2 % cd test2 % mkdir package-3.1.1 % touch package-3.1.1.exe % mv package-3.1.1 packag

Re: Cygwin-1.7.7: mv appends .exe to directory if matching .exe exists

2011-01-04 Thread Eric Blake
On 01/04/2011 09:27 AM, David Mastronarde wrote: > > When there is a directory and an executable with the same name, mv adds > .exe when renaming the directory: > > % mkdir test2 > % cd test2 > % mkdir package-3.1.1 > % touch package-3.1.1.exe > % mv package-3.1.1 package-3.1.2 > % ls > package-3