octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62282] ls command in 7.1.0 may not function


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62282] ls command in 7.1.0 may not function
Date: Thu, 21 Apr 2022 11:22:53 -0400 (EDT)

Update of bug #62282 (project octave):

                  Status:                   Fixed => In Progress            
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #27:

Ok. I experimented a little bit and it is difficult to create a file
containing `*` or `?` on Windows with only CMD and "board tools". (It's pretty
easy from a bash [from Git, MSYS2 or similar] by executing e.g. `touch
test*`.)
Files containing `[` or `]` can be created without any third party tools.

Should we always treat `*` and `?` as glob patterns on Windows without the
option to escape them? What about `[` and `]`?

I don't really like that this would mean that `ls` would behave differently on
Windows. And it would also mean that it would be impossible to use that
function with files that contain those characters in their name.
But given that this wasn't possible in prior versions of Octave either and I
don't recall whether we had reports about that, it might mean that such files
are probably not really common.

If we should decide to go that route, we should adapt the documentation to
correctly describe the actual implementation.

Re-opening report.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62282>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]