Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Here-doc glitch, and null commands
- X-seq: zsh-workers 2941
- From: Andrej Borsenkow <borsenkow.msk@xxxxxx>
- To: Zsh workers mailing list <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: Re: Here-doc glitch, and null commands
- Date: Fri, 28 Feb 1997 10:16:11 +0300 (MSK)
- In-reply-to: <m0w096l-000060C@xxxxxxxxxxxxxxx>
- Reply-to: borsenkow.msk@xxxxxx
On Thu, 27 Feb 1997, Thorsten Meinecke wrote:
> Hello there,
> this is as of zsh-3.0.3-test4.
>
> Here-documents inside command/process substitution won't behave
> when they contain an unmatched single or double quote. Complains
> about "parse error near `$(<<__END__'.", and when entered inter-
> actively, one is caught in `cmdsubst>'. Example:
>
> echo $(<<__END__
> Doesn't work.
> __END__)
>
(Almost) the same in 3.1.1 (I doubt, if $(<< ...) is legal):
[1]bor@itsrm1:~%> echo $(
cmdsubst> cat << EOF
cmdsubst> doesn't work
cmdsubst> EOF
cmdsubst> )
cmdsubst>
greetings
------------------------------------------------------------------
Andrej Borsenkow Fax: +7 (095) 252 01 05
SNI ITS Moscow Tel: +7 (095) 252 13 88
NERV: borsenkow.msk E-Mail: borsenkow.msk@xxxxxx
-------------------------------------------------------------------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author