Zsh Mailing List Archive
Messages sorted by:
SOLVED! ( "here" document broken? (New findings))
- X-seq: zsh-users 9608
- 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: SOLVED! ( "here" document broken? (New findings))
- Date: Wed, 2 Nov 2005 08:12:40 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Thread-index: AcXb0jByquwPlCGnSGuxLsSs5a4cNgDqOusw
- Thread-topic: SOLVED! ( "here" document broken? (New findings))
Thank you for all the attention to my problem. I finally was able to
down the fault.
First I should explain my last message, why suddenly "here" documents
not work with zsh -f. How blind can a man be!!!! You see: For technical
I use several interactive shells in different windows - zsh, bash and
I did not care from which shell I invoked my zsh scripts, because I
were not important - after all, the shell script has a #! line and hence
not care from which shell it was executed.
I was wrong. I found that the "here" testscripts do not run when called
interactive zsh, but run well when called from interactive bash or tcsh,
was irrespective of flags such as -f. This means the culprit must be in
environment (which is of course inherited by zsh).
There is exactly one setting in my invironment which is different from
zsh to that of my bash and tcsh environments, and this is the line
Even when I call a script with #!/bin/zsh -f, it sees the TMPPREFIX
which happens to be set whenever I am invoking that script from an
When the zsh Script was called from an interactive bash or tcsh,
to be undefined.
My mistake was to assume that the directory mentioned in TMPPREFIX would
by zsh automatically, but this is not the case (and the manual does not
claim it either
anyway, so this is clearly my fault). I have changed the line to
and now everything runs well.
Thank you for all of you helping, and sorry that I put you on the wrong
Messages sorted by: