[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indirect expansion and arrays
From: |
Andreas Schwab |
Subject: |
Re: Indirect expansion and arrays |
Date: |
Tue, 02 Oct 2012 14:34:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Techlive Zheng <techlivezheng@gmail.com> writes:
> Combine with Chet Ramey's reply, a strucure like below would work.
>
> $ c=(a[0] a[1] a[2])
Careful. The elements are subject to filename expansion, so you need to
quote them to be safe.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."