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

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

[Octave-bug-tracker] [bug #47950] dir function fails with wildcard chara


From: Richard Suchland
Subject: [Octave-bug-tracker] [bug #47950] dir function fails with wildcard characters
Date: Wed, 18 May 2016 02:56:02 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

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

쳌⟓ꇇ>> status=mkdir('c:/[test]');
>> status=mkdir('c:/[test]/abc');
>> #from the Octave 4.0 User Manual
>> #directory is subject to shell expansion if it contains any wildcard
characters `*', `?',
>> #`[]'. To ?nd a literal example of a wildcard character the wildcard must
be escaped
>> #using the backslash operator `'.
>> dir("c:/[test]");
warning: dir: nonexistent directory 'c:/[test]'
warning: called from
    dir at line 153 column 5
>> # no joy
>> #other interpretation of escaped wildcard
>> dir("c:/x5Btestx5D");
warning: dir: nonexistent directory 'c:/[test]'
warning: called from
    dir at line 153 column 5
>> # no joy

    _______________________________________________________

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]