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

[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: Mike Miller
Subject: [Octave-bug-tracker] [bug #47950] glob and dir functions fail with escaped wildcard characters in Windows
Date: Fri, 20 May 2016 18:42:36 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #13, bug #47950 (project octave):

That actually sounds easy, but the problem is with a string like


glob ('dir\*a*.txt')


Is the user looking for all files named '*a*.txt' in a directory named 'dir'?
Or is the user looking for a match against files starting with the literal
string 'dir*a' and ending with '.txt'? I don't think there is a way to resolve
this ambiguity on a system where the same character is used for escaping and
for directory separators.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47950>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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