Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Idiom
- X-seq: zsh-workers 25281
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Jaime Vargas <jev@xxxxxxx>
- Subject: Re: Idiom
- Date: Mon, 14 Jul 2008 14:58:17 -0700
- Cc: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=d200803; d=spodhuis.org; h=Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; b=C11RpFS0eQcSHA6UfnW85oLPvIwTEe/R3l5YA3/LZrYr9I5TjnLuWxYFkAttIrVjpLt4IEb1+xXkIIcguBcLk/+KK3xknY5TcT1UT+W7wuFkS2reELJg9hekC+2n6wvBI9Im/DmAY0di96bXCR8ohZTesweU+7sAHnEKdmzDlU4=;
- In-reply-to: <398A2623-A473-4DFA-89C8-91716D1405AB@xxxxxxx>
- Mail-followup-to: Jaime Vargas <jev@xxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <398A2623-A473-4DFA-89C8-91716D1405AB@xxxxxxx>
On 2008-07-14 at 17:34 -0400, Jaime Vargas wrote:
> Is there a better way to setup the ${mask_octects} array?
> Without the back-ticks the expression constructs an array of one
> element.
set -A mask_octets ${(s:.:)cidr_to_mask[22]}
See zshexpn(1), Parameter Expansion Flags.
> -- Jaime
Ah, the necromancer from the Kelley Armstrong books. :)
-Phil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author