Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: array1=array2 ???
- X-seq: zsh-users 11090
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: array1=array2 ???
- Date: Mon, 18 Dec 2006 04:34:09 +0100
- In-reply-to: <20061218.043009.41640189.Meino.Cramer@xxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Operating-system: Linux 2.6.18.3suspend2+ipw2200 i686
- References: <20061218.043009.41640189.Meino.Cramer@xxxxxx>
Meino Christian Cramer <Meino.Cramer@xxxxxx>:
[...]
> a=( 1 2 3 4 5 6 7 8 9 )
>
> Now I want "b" to become equal to "a".
[...]
>
> How can I copy one array to another?
b=( $a )
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
Messages sorted by:
Reverse Date,
Date,
Thread,
Author