[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
John W. Eaton
Wed, 17 Feb 2010 16:26:25 -0500
On 17-Feb-2010, Thorsten Meyer wrote:
| John W. Eaton wrote:
| > On 16-Feb-2010, Ben Abbott wrote:
| > | On Feb 16, 2010, at 1:00 AM, Aditya Bhagwat wrote:
| > |
| > | > Dear Ben,
| > | >
| > | >> Did you try ...
| > | >>
| > | >> glob ('.*')
| > | >>
| > | >> Ben
| > | >
| > | > Yep, I did. In fact, that's what isn't working (or not the "regexp"-way
| > | > would expect it to).
| > The glob function uses filename globbing rules, not regexp rules.
| > Yes, the documentation should explain what "filename globbing rules"
| > are. The "Pattern Matching" section of the bash manual has an
| > explanation. Would someone please adapt that (or another suitable)
| > description and post a patch for the glob docstring?
| Here is a patch to document filename globbing rules.
I didn't receive a patch in the message or as an attachment.
| the glob function.
| I don't like that test yet: when the asserts fail, the cleanup section will
| be executed and afterwards the working directory or the octave session will be
| the temporary directory of the test (I tried with a dummy assert (1, 2)).
| I tried to use an unwind_protect block but that does not seem to work within
| Yet for the test itself to be robust, I need a clean directory to start with.
| Is there another way to provide a robust cleanup for a test?
I'm not sure. Send the patch to the maintainers mailing list first
and then we can discuss it there.
- glob(pattern), Aditya Bhagwat, 2010/02/15
- Re: glob(pattern), Ben Abbott, 2010/02/15
- Re: glob(pattern), Aditya Bhagwat, 2010/02/16
- Re: glob(pattern), Ben Abbott, 2010/02/16
- Re: glob(pattern), John W. Eaton, 2010/02/16
- Re: glob(pattern), Aditya Bhagwat, 2010/02/17
- Re: glob(pattern), Thorsten Meyer, 2010/02/17
- Re: glob(pattern),
John W. Eaton <=
- Re: glob(pattern), Thorsten Meyer, 2010/02/18
- Re: glob(pattern), John W. Eaton, 2010/02/18