Prefix/Cygwin: Cygwins .exe magic lacking in directory listings
I needed to fix a shell expression in python.eselect to match
"python2.6.exe". Currently it is "ls python2.?" and would match
"python2.6" but not the Cygwin binary with the .exe suffix.
The .exe magic of Cygwin is lacking in this point of directory
listings. In theory the ".exe" and ".lnk" suffixes would be removed.
It isn't done to give better information for the user. Hence scipts
making use of it need to workaround the matter. Fortunatly this cases
Question: What is a clean fix to match both cases?
I tried this
but the result is:
ls: cannot access python2.?: No such file or directory