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

Re: "here" document broken? (New findings)



On Oct 28, 11:34am, Com MN PG P E B Consultant 3 wrote:
}
} As the only difference is the -f flag in the invocation of zsh,
} the culprit might be my startup scripts. But they are innocent:

}    zsh -x -c zsh_here

How about changing zsh_here to put the -x on the #! line, so that you
can see what's happening *inside* the script?

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



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