[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47950] glob and dir functions fail with escap
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows |
Date: |
Sat, 21 May 2016 00:16:23 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #14, bug #47950 (project octave):
We could use the fact that '/' is not valid in Windows file names.
A possible rule would be
- In any string that contains a '/', don't translate '\', regardless of OS.
That way, if a string is using unix-like directory separators, it can use
unix-like escapes even on Windows systems. The only ambiguity would arise if
the string mixed the two on a Windows system.
This would fail in Mike's example of comment #3, but that could easily be
replaced by dir ('./\[abc\]').
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47950>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47950] dir function fails with wildcard characters, (continued)
- [Octave-bug-tracker] [bug #47950] dir function fails with wildcard characters, Richard Suchland, 2016/05/18
- [Octave-bug-tracker] [bug #47950] dir function fails with wildcard characters, John W. Eaton, 2016/05/18
- [Octave-bug-tracker] [bug #47950] dir function fails with wildcard characters, Richard Suchland, 2016/05/18
- [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows, Mike Miller, 2016/05/18
- [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows, Rik, 2016/05/20
- [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows, Rik, 2016/05/20
- [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows, John W. Eaton, 2016/05/20
- [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows, John W. Eaton, 2016/05/20
- [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows, Rik, 2016/05/20
- [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows, Mike Miller, 2016/05/20
- [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows,
Lachlan Andrew <=
- [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows, Philip Nienhuis, 2016/05/22
- [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows, Mike Miller, 2016/05/22
- [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows, Philip Nienhuis, 2016/05/22
- [Octave-bug-tracker] [bug #47950] glob and dir functions are unable to escape square bracket characters in Windows, Mike Miller, 2016/05/23
- [Octave-bug-tracker] [bug #47950] glob and dir functions are unable to escape square bracket characters in Windows, Rik, 2016/05/23
- [Octave-bug-tracker] [bug #47950] glob and dir functions are unable to escape square bracket characters in Windows, Philip Nienhuis, 2016/05/23
- [Octave-bug-tracker] [bug #47950] glob and dir functions are unable to escape square bracket characters in Windows, Mike Miller, 2016/05/23
- [Octave-bug-tracker] [bug #47950] glob and dir functions are unable to escape square bracket characters in Windows, Philip Nienhuis, 2016/05/23
- [Octave-bug-tracker] [bug #47950] glob and dir functions are unable to escape square bracket characters in Windows, Rik, 2016/05/23
- [Octave-bug-tracker] [bug #47950] glob and dir functions are unable to escape square bracket characters in Windows, Mike Miller, 2016/05/23