Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

FW: About word splitting in read (Zsh)



In (almost latest) CVS:

bor@itsrm2% read -r foo
   qwert   yuiop   !
bor@itsrm2% print -r $foo
qwert   yuiop   !

So, the question is - should we fix -r or introduce new option?

-andrej

> -----Original Message-----
> From: bjeick0@xxxxxxxxxxxx [mailto:bjeick0@xxxxxxxxxxxx]
> Sent: Tuesday, August 01, 2000 6:04 AM
> To: Andrej.Borsenkow@xxxxxxxxxxxxxx
> Subject: About word splitting in read (Zsh)
>
>
> Sorry to bother you, but I'm not sure how to use Mailing-Lists.  I found
> a message of yours while looking through a Zsh archive on the web.
>
> I wanted a version of read which didn't perform word splitting, but
> `read -r'
> still does one thing I'm trying to prevent: it removes leading whitespace.
> I'm hoping to preserve all whitespace (a true raw mode).  Is there
> any way to
> accomplish this (with `read' or otherwise)?
>
>
> Bobby Eickhoff
> <bjeick0@xxxxxxxxxxxx>
>
>



Messages sorted by: Reverse Date, Date, Thread, Author