From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <19990205120648.G17215@fysh.org> Date: Fri, 5 Feb 1999 12:06:48 +0000 From: Phil Pennock To: zsh-users@math.gatech.edu Subject: Re: globbing for links in pathnames Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailing-List: 2103 Typing away merrily, Bart Schaefer produced the immortal words: > D'oh! I was distracted by attempting to get globbing to happen in the > right-side of ${x::=*(@)}, discovered that glob_assign wouldn't do it, > and then just left it there and typed the other solution. Okay, why do neither the second nor third ones here work "as expected"? % print -l ${(A)~x::=pkgs/*(@)}given that: pkgs/bar pkgs/foo % print -l ${(A)^~x::=pkgs/*(@)}/man pkgs/*(@)/man % print -l ${^${(A)~x::=pkgs/*(@)}}/man pkgs/*(@)/man % I'm a little confused. -- --> Phil Pennock ; GAT d- s+:+ a23 C++(++++) UL++++/I+++/S+++/B++/H+$ P++@$ L+++ E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+ G+ e+ h* r y?