Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Expansion bug?
- X-seq: zsh-workers 191
- From: P.Stephenson@xxxxxxxxxxxxx
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Expansion bug?
- Date: Sun, 09 Jul 95 18:49:17 +0100
- In-reply-to: "cjh@xxxxxxx"'s message of "Fri, 07 Jul 95 13:25:50 +0500." <9507071725.AA06947@xxxxxxxxxxxx>
cjh@xxxxxxx wrote:
> > > set -A cdpath $ROOT/{$PROJ,${(j:,:)PROJ_LIST}}/src
> > However your original method probably still works if glob_subst is set (I
> > haven't tried). There was a bugfix which changed that.
>
> However, THIS works just fine...
> (Hopefully globsubst won't have any other unwanted
> side-effects...)
You can get the complete effect without setting globsubst explicitly
by using the one-time flag ~ (works like ^):
set -A cdpath $ROOT/{$PROJ,${(j:,:)~PROJ_LIST}}/src
(although the word `grotesque' springs to mind unbidden). This should
be virtually option-proof, but don't quote me.
--
Peter Stephenson <P.Stephenson@xxxxxxxxxxxxx> Tel: +44 1792 205678 extn. 4461
WWW: http://python.swan.ac.uk/~pypeters/ Fax: +44 1792 295324
Department of Physics, University of Wales, Swansea,
Singleton Park, Swansea, SA2 8PP, U.K.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author