Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Any easier way of parsing this file?
- X-seq: zsh-users 9527
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: DervishD <zsh@xxxxxxxxxxxx>
- Subject: Re: Any easier way of parsing this file?
- Date: Wed, 19 Oct 2005 15:48:32 +0000
- Cc: Zsh Users <zsh-users@xxxxxxxxxx>
- In-reply-to: <20051019073748.GB1012@DervishD>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20051018225336.GA957@DervishD> <1051019015810.ZM32176@xxxxxxxxxxxxxxxxxxxxxxx> <20051019073748.GB1012@DervishD>
On Oct 19, 9:37am, DervishD wrote:
}
} I was more interested in an alternative for the "print | while read"
Such as
for line in "${(f)data}"
perhaps?
Actually in 4.2.5 you can probably do
for label content in "${(j/=/s/=/)${(f)data}}"
as long as none of the content parts contain equal signs.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author