zsh-workers
 help / color / mirror / code / Atom feed
* Here-docs and $(...)
@ 2009-05-27 15:54 Bart Schaefer
  0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2009-05-27 15:54 UTC (permalink / raw)
  To: zsh-workers

Discussion on the austin-group (POSIX) list indicates that this:

echo $(
cat <<\)
hello
)
)

Should be parsed as a here-document up through the second close paren, so
that the third close-paren matches the open paren to end the substitution.

Zsh gets this wrong, ending the command substitution at the second close.
There's probably no easy fix for this, as the here-document parser is not
invoked during scanning of the command substitution.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-27 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-27 15:54 Here-docs and $(...) Bart Schaefer

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