[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glob(pattern)
From: |
Aditya Bhagwat |
Subject: |
Re: glob(pattern) |
Date: |
Wed, 17 Feb 2010 08:21:25 +0100 (CET) |
User-agent: |
SquirrelMail/1.4.9a |
Dear John,
Dear Ben,
> 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?
>
> | It works for me ...
> |
> | octave:1> glob ('.*')
> | ans =
> |
> | {
> | [1,1] = .
> | [2,1] = ..
> | [3,1] = .CCP4
>
> I don't think this is the result Aditya is looking for.
Thx, this clarifies things! Ben, the result you showed was indeed correct,
but not the one I was looking for. I meant "any character" with the dot
symbol and not "dot".
Aditya
--
Aditya Bhagwat
Ph.D student
Dept. Appl. Math., Biometrics and Process Control
Ghent University
Coupure Links 653, B-9000 Gent, Belgium
Phone: +32 499 39 28 85
- 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 <=
- Re: glob(pattern), Thorsten Meyer, 2010/02/17
- Re: glob(pattern), John W. Eaton, 2010/02/17
- Re: glob(pattern), Thorsten Meyer, 2010/02/18
- Re: glob(pattern), John W. Eaton, 2010/02/18