Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
array1=array2 ???
- X-seq: zsh-users 11089
- From: Meino Christian Cramer <Meino.Cramer@xxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: array1=array2 ???
- Date: Mon, 18 Dec 2006 04:30:09 +0100 (CET)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
 WARNING! NEWBIE QUESTION AHEAD! ;)
 Suppose I did the following:
		 a=( 1 2 3 4 5 6 7 8 9 )
 Now I want "b" to become equal to "a".
 I tried 
		 b=a
 which only copies the first element.
	   b=$( ${(@)a} )
 does also not work ("bad substitution").
 How can I copy one array to another?
 Thank you very much in advannce for any help!
 Keep zshing!
 mcc
 
 
Messages sorted by:
Reverse Date,
Date,
Thread,
Author