On Thu, 13 Dec 2001, Paul Jarc wrote:
> "Chris F.A. Johnson" <chris@rogers.com> wrote:
> > xxx_var=( `eval echo \\${$1[@]}` )
>
> Your unquoted [@] could be pathname-expanded to something different.
Under what circumstances is @ exapanded, other than $@ and in array
expansion?
> xxx_var=( $(eval "echo \${$1[@]}") )
--
Chris F.A. Johnson bq933@torfree.net
=================================================================
c.f.a.johnson@rogers.com http://cfaj.freeshell.org
cfaj@freeshell.org http://members.rogers.com/c.f.a.johnson