Re: surprising glob() result on Windows

2023-05-02 Thread Mike
On 05/02/2023 3:53 PM, Bram Moolenaar wrote: Just out of curiosity, I tried the same with python and tcl. Neither returns multiple files for the *.abc case so their behavior is different. I don't know why it differs but I would argue that their outputs do a better job of "meeting

Re: surprising glob() result on Windows

2023-05-02 Thread Bram Moolenaar
> Just out of curiosity, I tried the same with python and tcl. Neither > returns multiple files for the *.abc case so their behavior is > different. I don't know why it differs but I would argue that their > outputs do a better job of "meeting expectations". That depends on what your

Re: surprising glob() result on Windows

2023-05-02 Thread Mike
On 04/29/2023 3:37 PM, Stan Brown wrote: Stan Brown Tehachapi, CA, USA https://BrownMath.com On 2023-04-29 08:28, Mike wrote: On 04/29/2023 10:51 AM, Mike wrote: On 04/28/2023 9:32 PM, Mike wrote: Briefly, I have a case where glob("*.ext") returns more files than I expect. To give an

Re: surprising glob() result on Windows

2023-05-01 Thread Stan Brown
On 2023-04-30 20:58, Enan Ajmain wrote: > On Sat, 29 Apr 2023 12:37:19 -0700 > Stan Brown wrote: >> Some time after that, I'm not sure when but certainly by the release of >> Windows 10, it became possible to disable SFNs for any particular disk >> partition. And sometime after that, "LFNs only"

Re: surprising glob() result on Windows

2023-04-30 Thread Enan Ajmain
On Sat, 29 Apr 2023 12:37:19 -0700 Stan Brown wrote: > Some time after that, I'm not sure when but certainly by the release of > Windows 10, it became possible to disable SFNs for any particular disk > partition. And sometime after that, "LFNs only" became the default. But > your disk is

Re: surprising glob() result on Windows

2023-04-29 Thread Mike
On 04/29/2023 3:37 PM, Stan Brown wrote: Stan Brown Tehachapi, CA, USA https://BrownMath.com On 2023-04-29 08:28, Mike wrote: On 04/29/2023 10:51 AM, Mike wrote: On 04/28/2023 9:32 PM, Mike wrote: Briefly, I have a case where glob("*.ext") returns more files than I expect. To give an

Re: surprising glob() result on Windows

2023-04-29 Thread Stan Brown
Stan Brown Tehachapi, CA, USA https://BrownMath.com On 2023-04-29 08:28, Mike wrote: > On 04/29/2023 10:51 AM, Mike wrote: >> On 04/28/2023 9:32 PM, Mike wrote: >>> Briefly, I have a case where glob("*.ext") returns more files than I >>> expect. >>> >>> To give an example, in a directory of

Re: surprising glob() result on Windows

2023-04-29 Thread Mike
On 04/29/2023 10:51 AM, Mike wrote: On 04/28/2023 9:32 PM, Mike wrote: Briefly, I have a case where glob("*.ext") returns more files than I expect. To give an example, in a directory of your choice create two files named "test.any" and "zest.anyother".  The important detail is that the

Re: surprising glob() result on Windows

2023-04-29 Thread Mike
On 04/28/2023 9:32 PM, Mike wrote: Briefly, I have a case where glob("*.ext") returns more files than I expect. To give an example, in a directory of your choice create two files named "test.any" and "zest.anyother".  The important detail is that the second filename's extension be prefixed

Re: surprising glob() result on Windows

2023-04-29 Thread Mike
On 04/29/2023 9:26 AM, Bram Moolenaar wrote: Briefly, I have a case where glob("*.ext") returns more files than I expect. To give an example, in a directory of your choice create two files named "test.any" and "zest.anyother". The important detail is that the second filename's extension be

Re: surprising glob() result on Windows

2023-04-29 Thread Bram Moolenaar
> Briefly, I have a case where glob("*.ext") returns more files than I > expect. > > To give an example, in a directory of your choice create two files named > "test.any" and "zest.anyother". The important detail is that the second > filename's extension be prefixed by the first filename's

surprising glob() result on Windows

2023-04-28 Thread Mike
Briefly, I have a case where glob("*.ext") returns more files than I expect. To give an example, in a directory of your choice create two files named "test.any" and "zest.anyother". The important detail is that the second filename's extension be prefixed by the first filename's extension.