zsh-users
 help / color / mirror / code / Atom feed
* lost my space ...
@ 2006-03-29  9:04 Marc Chantreux
  2006-03-29  9:33 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Chantreux @ 2006-03-29  9:04 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-29  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-29  9:04 lost my space Marc Chantreux
2006-03-29  9:33 ` Peter Stephenson
2006-03-29  9:47   ` Marc Chantreux

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).