zsh-users
 help / color / mirror / code / Atom feed
* RE: "here" document broken?
@ 2005-10-28  9:11 Com MN PG P E B Consultant 3
  2005-10-28 10:12 ` DervishD
  2005-10-30  5:04 ` Philippe Troin
  0 siblings, 2 replies; 5+ messages in thread
From: Com MN PG P E B Consultant 3 @ 2005-10-28  9:11 UTC (permalink / raw)
  To: zsh-users Mailinglist

> > #!/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@siemens.com>
 


^ permalink raw reply	[flat|nested] 5+ messages in thread
* "here" document broken?
@ 2005-10-28  7:25 Com MN PG P E B Consultant 3
  2005-10-28  9:04 ` DervishD
  0 siblings, 1 reply; 5+ messages in thread
From: Com MN PG P E B Consultant 3 @ 2005-10-28  7:25 UTC (permalink / raw)
  To: zsh-users Mailinglist

I'm using zsh 4.0.7 under Linux. 

It looks as if the "<<" redirection is broken. For example,
even such a simple usage of a here document such as:

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

does not print xxx, but complains about "no such file or directory"
in line 2.

Any idea what's going wrong?

Ronald
-- 
Ronald Fischer <mn-pg-p-e-b-consultant-3.com@siemens.com>
 


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

end of thread, other threads:[~2005-10-30  5:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-28  9:11 "here" document broken? Com MN PG P E B Consultant 3
2005-10-28 10:12 ` DervishD
2005-10-30  5:04 ` Philippe Troin
  -- strict thread matches above, loose matches on Subject: below --
2005-10-28  7:25 Com MN PG P E B Consultant 3
2005-10-28  9:04 ` DervishD

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).