From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29464 invoked from network); 29 Mar 2006 09:02:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Mar 2006 09:02:37 -0000 Received: (qmail 56816 invoked from network); 29 Mar 2006 09:02:28 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Mar 2006 09:02:28 -0000 Received: (qmail 26 invoked by alias); 29 Mar 2006 09:02:19 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10099 Received: (qmail 14 invoked from network); 29 Mar 2006 09:02:18 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 29 Mar 2006 09:02:18 -0000 Received: (qmail 55737 invoked from network); 29 Mar 2006 09:02:18 -0000 Received: from mailhost.u-strasbg.fr (130.79.200.152) by a.mx.sunsite.dk with SMTP; 29 Mar 2006 09:02:17 -0000 Received: from [130.79.188.217] (sys-univ-x.u-strasbg.fr [130.79.188.217]) by mailhost.u-strasbg.fr (8.13.4/jtpda-5.5pre1) with ESMTP id k2T92GfP068954 for ; Wed, 29 Mar 2006 11:02:16 +0200 (CEST) Message-ID: <442A4D8E.4050206@ulpmm.u-strasbg.fr> Date: Wed, 29 Mar 2006 11:04:14 +0200 From: Marc Chantreux User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: zsh-users@sunsite.dk Subject: lost my space ... Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mailhost.u-strasbg.fr [130.79.200.152]); Wed, 29 Mar 2006 11:02:16 +0200 (CEST) X-Virus-Scanned: ClamAV 0.88/1361/Wed Mar 29 08:50:38 2006 on mr2.u-strasbg.fr X-Virus-Status: Clean Hi all, i'm having some trouble using read to get a wrapped attrivute value of an ldif file : say this text as stdin : uid: suzan description: R&D leader, doesn't know unix but skilled in C programming the problem is that "while { read line }" will crunch the space at the begin of the line. I tried to find an appropriate flag in the doc. with no success, so i finally use " for line ( ${(f)"$(cat)"} )" ... but ... i would like to know ... is there way to use read ? regards, mc