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

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

[Octave-bug-tracker] [bug #47359] fileattrib wildcard/globbing character


From: Rik
Subject: [Octave-bug-tracker] [bug #47359] fileattrib wildcard/globbing characters handling
Date: Mon, 07 Mar 2016 20:00:36 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #3, bug #47359 (project octave):

Documentation on the Windows XP attrib command is here:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/attrib.mspx.
 There is a '/s' option which selects recursive descent and a '/d' option
which includes directories in the recursive descent.

It may be that Matlab has not really coded their own fileattrib command, but
simply call out to the Windows shell to do the work for them.  If so, this
would be undocumented Matlab behavior that Octave is unlikely to copy.

At least on a *Nix system the obvious way to solve the original problem would
be


[status, list] = unix ("find *");


On Windows, you could try something like


[status, list] = dos ("dir * /b /s /d");




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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