[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63524] dir / glob not listing directories in
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #63524] dir / glob not listing directories in some cases ! |
Date: |
Wed, 14 Dec 2022 21:36:48 -0500 (EST) |
Follow-up Comment #5, bug #63524 (project octave):
ok. by itself, glob is not recursive.
glob ('*.m') gives me all of the m files in the same folder.
glob ('**\*.m') appears to recurse one level deep. so for example, in my
project folder:
>> ls
octave-statistics pkg repelem scatteredInterpolant temp
all have m files, but only repelem and scatteredInterpolant have m files one
level down. So:
+verbamit+
>> glob('*.m')
ans = {}(0x0)
>> glob('**/*.m')
ans =
{
[1,1] = repelem\repelem.m
[2,1] = scatteredInterpolant\TriScatteredInterp.m
[3,1] = scatteredInterpolant\delaunayn.m
[4,1] = scatteredInterpolant\extraptest.m
[5,1] = scatteredInterpolant\find_convex_vis_pts.m
[6,1] = scatteredInterpolant\scatteredInterpolant.m
[7,1] = scatteredInterpolant\testHDR.m
I'm not familiar with "filename globbing patterns .. as used by the Unix
shells" so unless that pattern with glob is expected to do full recursion,
this seems to be behaving okay
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63524>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63524] dir / glob not listing directories in some cases !, Hans, 2022/12/14
- [Octave-bug-tracker] [bug #63524] dir / glob not listing directories in some cases !, Hans, 2022/12/14
- [Octave-bug-tracker] [bug #63524] dir / glob not listing directories in some cases !, Markus Mützel, 2022/12/14
- [Octave-bug-tracker] [bug #63524] dir / glob not listing directories in some cases !, Hans, 2022/12/14
- [Octave-bug-tracker] [bug #63524] dir / glob not listing directories in some cases !, Nicholas Jankowski, 2022/12/14
- [Octave-bug-tracker] [bug #63524] dir / glob not listing directories in some cases !,
Nicholas Jankowski <=
- [Octave-bug-tracker] [bug #63524] dir / glob not listing directories in some cases !, Nicholas Jankowski, 2022/12/14
- [Octave-bug-tracker] [bug #63524] dir / glob not listing directories in some cases !, Dmitri A. Sergatskov, 2022/12/14
- [Octave-bug-tracker] [bug #63524] dir doesn't do full recursive search with '**', Nicholas Jankowski, 2022/12/14
- [Octave-bug-tracker] [bug #63524] dir doesn't do full recursive search with '**', Markus Mützel, 2022/12/14
- [Octave-bug-tracker] [bug #63524] dir doesn't do full recursive search with '**', Dmitri A. Sergatskov, 2022/12/14
- [Octave-bug-tracker] [bug #63524] dir doesn't do full recursive search with '**', Dmitri A. Sergatskov, 2022/12/14
- [Octave-bug-tracker] [bug #63524] dir doesn't do full recursive search with '**', Dmitri A. Sergatskov, 2022/12/15
- [Octave-bug-tracker] [bug #63524] dir doesn't do full recursive search with '**', Rik, 2022/12/15
- [Octave-bug-tracker] [bug #63524] dir doesn't do full recursive search with '**', John W. Eaton, 2022/12/15
- [Octave-bug-tracker] [bug #63524] dir doesn't do full recursive search with '**', John W. Eaton, 2022/12/15