Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: how to?
- X-seq: zsh-users 5299
- From: Roman Neuhauser <neuhauser@xxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: how to?
- Date: Tue, 27 Aug 2002 20:00:32 +0200
- In-reply-to: <20020827192020.A7905@xxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020823133510.2B8EC5B5@xxxxxxxxxx> <20020827103427.GJ21595@xxxxxxxxxxxxxxxxxxxxxxx> <20020827192020.A7905@xxxxxxxxxxx>
> Date: Tue, 27 Aug 2002 19:20:20 +0200
> From: Phil Pennock <Phil.Pennock@xxxxxxxxxxx>
> To: zsh-users@xxxxxxxxxx
> Subject: Re: how to?
>
> On 2002-08-27 at 12:34 +0200, Roman Neuhauser wrote:
> > roman@freepuppy ~/tmp/foo 1030:0 > ls
> > bar.c bar.o baz.c baz.o foo.c
> > roman@freepuppy ~/tmp/foo 1031:0 > ls *.c~f*
> > bar.c baz.c
> > roman@freepuppy ~/tmp/foo 1032:0 > ls *.c~*.o
> > bar.c baz.c foo.c
> > roman@freepuppy ~/tmp/foo 1033:0 >
> >
> > could anyone explain this to me?
>
> The extended glob used excludes those filenames which match the second
> glob. The first one excludes filenames starting with "f". The second
> excludes those ending ".o".
>
> If a filename ends ".c" then it can not also, at the same time, end
> ".o".
>
> This says nothing about whether or not there exists a different filename
> which has the same basename, but ends ".o" instead of ".c".
ah, now it's clear. thanks!
--
FreeBSD 4.6-STABLE
7:59PM up 7 days, 1:52, 17 users, load averages: 0.00, 0.00, 0.00
Messages sorted by:
Reverse Date,
Date,
Thread,
Author