bug-bash
[Top][All Lists]
Advanced

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

Re: variable indirection and arrays ?


From: Paul Jarc
Subject: Re: variable indirection and arrays ?
Date: Wed, 20 Nov 2002 12:49:26 -0500
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

Jorma Laaksonen <address@hidden> wrote:
> bash-2.05a$ a=(xxx yyy zzz)
> bash-2.05a$ b=a
> bash-2.05a$ echo address@hidden
> xxx yyy zzz
> bash-2.05a$ echo address@hidden
> xxx

! is just syntactic sugar.  You can use eval to get the same effect:
eval "echo address@hidden"


paul




reply via email to

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