From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24234 invoked from network); 19 Oct 2005 15:51:54 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Oct 2005 15:51:54 -0000 Received: (qmail 40066 invoked from network); 19 Oct 2005 15:51:48 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Oct 2005 15:51:48 -0000 Received: (qmail 21897 invoked by alias); 19 Oct 2005 15:51:41 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9527 Received: (qmail 21888 invoked from network); 19 Oct 2005 15:51:40 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 19 Oct 2005 15:51:40 -0000 Received: (qmail 39010 invoked from network); 19 Oct 2005 15:51:40 -0000 Received: from vms042pub.verizon.net (206.46.252.42) by a.mx.sunsite.dk with SMTP; 19 Oct 2005 15:51:39 -0000 Received: from candle.brasslantern.com ([71.116.81.225]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IOM00G666KXEWK0@vms042.mailsrvcs.net> for zsh-users@sunsite.dk; Wed, 19 Oct 2005 10:48:34 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j9JFmWfZ001374; Wed, 19 Oct 2005 08:48:32 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j9JFmWOO001373; Wed, 19 Oct 2005 08:48:32 -0700 Date: Wed, 19 Oct 2005 15:48:32 +0000 From: Bart Schaefer Subject: Re: Any easier way of parsing this file? In-reply-to: <20051019073748.GB1012@DervishD> To: DervishD Cc: Zsh Users Message-id: <1051019154832.ZM1372@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20051018225336.GA957@DervishD> <1051019015810.ZM32176@candle.brasslantern.com> <20051019073748.GB1012@DervishD> Comments: In reply to DervishD "Re: Any easier way of parsing this file?" (Oct 19, 9:37am) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 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.