in reply to Re: Isn't glob annoying? (somehow)
in thread Isn't glob annoying? (somehow)

First off, my camel book has a slightly different text ("such as a shell would do"), and if I look at your results, then this
$ echo *jd *jd
contradicts the behaviour in @t3 in my example.

Bye
 PetaMem

Replies are listed 'Best First'.
Re: Isn't glob annoying? (somehow)
by Abigail-II (Bishop) on Aug 02, 2002 at 10:20 UTC
    It's a BSD glob. The original BSD shell is the csh, not the Bourne shell or some derivate of that.
    $ ls *1 *1 not found $ csh % ls *1 No match. % exit $
    Abigail
Re: Re: Re: Isn't glob annoying? (somehow)
by Courage (Parson) on Aug 02, 2002 at 09:26 UTC
    I also noticed that it contradicts to @t3 example, but command next to it explains glob('1') behaviour.

    And yes, I agree that glob's behaviour is somewhat tricky, or even more to say, weird.

    Courage, the Cowardly Dog.