Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: array1=array2 ???



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