Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
strange glob expansion
- X-seq: zsh-users 2544
- From: Hubert Canon <Hubert.Canon@xxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: strange glob expansion
- Date: Wed, 1 Sep 1999 10:11:17 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
Hi,
I tried something like this :
% echo .scwm/(chan*|**/scwmrc*)
.scwm/0.9 .scwm/0.99.1-cvs .scwm/0.99.2 .scwm/change-scwmrc .scwm/sav .scwm/scratch
But I expected that :
.scwm/0.9/scwmrc .scwm/0.99.1-cvs/scwmrc .scwm/0.99.1-cvs/scwmrc.debug .scwm/0.99.2/scwmrc .scwm/change-scwmrc .scwm/sav/scwmrc .scwm/sav/scwmrc.sav .scwm/scratch/scwmrc-scratch
Because :
% echo .scwm/**/scwmrc*
.scwm/0.9/scwmrc .scwm/0.99.1-cvs/scwmrc .scwm/0.99.1-cvs/scwmrc.debug .scwm/0.99.2/scwmrc .scwm/sav/scwmrc .scwm/sav/scwmrc.sav .scwm/scratch/scwmrc-scratch
What's wrong ? Did I misunderstand something ?
This one is strange too :
% echo (.scwm/**/scwmrc*|.scwm/chan*)
.scwm
Messages sorted by:
Reverse Date,
Date,
Thread,
Author