bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing Information To A Function


From: Chris F.A. Johnson
Subject: Re: Passing Information To A Function
Date: Fri, 14 Dec 2001 07:30:01 GMT

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]