1 |
Hello! |
2 |
|
3 |
I needed to fix a shell expression in python.eselect to match |
4 |
"python2.6.exe". Currently it is "ls python2.?" and would match |
5 |
"python2.6" but not the Cygwin binary with the .exe suffix. |
6 |
|
7 |
The .exe magic of Cygwin is lacking in this point of directory |
8 |
listings. In theory the ".exe" and ".lnk" suffixes would be removed. |
9 |
It isn't done to give better information for the user. Hence scipts |
10 |
making use of it need to workaround the matter. Fortunatly this cases |
11 |
are rare. |
12 |
|
13 |
Question: What is a clean fix to match both cases? |
14 |
|
15 |
I tried this |
16 |
|
17 |
"ls python2.?{,.exe}" |
18 |
|
19 |
but the result is: |
20 |
|
21 |
ls: cannot access python2.?: No such file or directory |
22 |
python2.6.exe |
23 |
|
24 |
It should not find: |
25 |
|
26 |
python2.6-config |
27 |
|
28 |
Thanks for help. |
29 |
|
30 |
Al |