Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Array assignment? Funny prompt magic?
- X-seq: zsh-users 13577
- From: "Webb Sprague" <webb.sprague@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Array assignment? Funny prompt magic?
- Date: Wed, 10 Dec 2008 08:59:57 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=J+YF2ZWti9C1k8WkodeGZtR4AJrdddSG6zJ7QAVjxBA=; b=DcCCNtCUSbYO7COhiqN6nORSbCBDfPZpfp8c9QUUuVJieoAqGrBlngZGPjF4nxF0Zz h+6/dXD24L9GZO3Y8XlgLDwc0HGc/XoCUjjDY2+2p1vu8FdMtkxDzFPXbdH2qjKjIE8M Jzaw/I94XUjdr088VeqCpxp7MRP0G/PQJ2rt8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=h8JTUTruz54ZA0iC3CbmB1rQ20KNGxr4Fz2AihuMQmj/5fzHgROJ3/N8AKBdpiM4A+ uR1Vl0Roa166YmozCGZ9yRSApsG3/Y3hwRtGWickjmWaDnADzV+oLnMmfn68cQY+QM+X NRwEg+LxWSJF+5yd4XTuw7r+rt+j13/s78pyY=
- In-reply-to: <20081210165719.GD4843@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <b11ea23c0812100812u374b5c21lfb899d422994f455@xxxxxxxxxxxxxx> <20081210165719.GD4843@xxxxxxxxxxxxxxx>
>>
>> (1) Is x=($y) the correct way to assign an array to x? I worry that
>> first $y gets converted to text, then mangled with ().
>
> If $y is an array, then
>
> x=($y)
>
Stephane, you really should be harder on me! ;) Thanks for the great answers!
<SNIP>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author