Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: "here" document broken?
- X-seq: zsh-users 9572
- From: "Com MN PG P E B Consultant 3" <mn-pg-p-e-b-consultant-3.com@xxxxxxxxxxx>
- To: "zsh-users Mailinglist" <zsh-users@xxxxxxxxxx>
- Subject: RE: "here" document broken?
- Date: Fri, 28 Oct 2005 11:11:18 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Thread-index: AcXbnpElIHIHwDBkT/+qI4SzcmW0uAAAJVPw
- Thread-topic: "here" document broken?
> > #!/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 :???
This is a good point!!!
I found that by chaning it to
#!/bin/zsh -f
(which is a sensible thing to do anyway), it works well! This means that
the problem has to be in my .zshrc, and though I don't see the problem
on the spot, this should be solvable...
Regards,
Ronald
--
Ronald Fischer <mn-pg-p-e-b-consultant-3.com@xxxxxxxxxxx>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author