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

Re: "here" document broken?



    Hi Ronald :)

 * Com MN PG P E B Consultant 3 <mn-pg-p-e-b-consultant-3.com@xxxxxxxxxxx> dixit:
> It looks as if the "<<" redirection is broken.

    That version you're using is pretty old, but I personally doubt
the here docs are broken, because that's heavily used and any bug in
that particular part of the shell would have been spotted rapidly.

> #!/bin/zsh
> cat << EOD
>   xxx
> EOD

    This prints "xxx" for me in 4.2.5 and in 4.0.9 :?
 
> Any idea what's going wrong?

    I don't know. Do you have here documents in any script in your
system (working heredocs, I mean)? Then the problem may be in your
startup zsh scripts, but I can't think of where :??? The problem is
weird.

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...



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