Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
lost my space ...
- X-seq: zsh-users 10099
- From: Marc Chantreux <marc.chantreux@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: lost my space ...
- Date: Wed, 29 Mar 2006 11:04:14 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author