|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #47950] dir function fails with wildcard characters |
Date: | Wed, 18 May 2016 02:48:48 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
URL: <http://savannah.gnu.org/bugs/?47950> Summary: dir function fails with wildcard characters Project: GNU Octave Submitted by: None Submitted on: Wed 18 May 2016 02:48:46 AM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.0.0 Operating System: Microsoft Windows _______________________________________________________ Details: Here is an example of the dir function failing: 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 find a literal example of a wildcard character the wildcard must be escaped #using the backslash operator ‘\’. dir("c:/\[test\]"); # no joy #other interpretation of escaped wildcard dir("c:/\x5Btest\x5D"); # no joy _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47950> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |