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

Re: here-document/multiline parameter conflict



> I didn't see this mentioned in Etc/BUGS for 3.0.0.  Is the following
> behavior by design?  It seems really bizarre.
> 
> This (trivial) script works under a standard ksh:
> #!/bin/ksh
> cat <<EOF | sed -e '/t/{
> s/t/T/
> }'
> one
> three
> five
> EOF
> 
> Changing the first line to #!/usr/local/bin/zsh -f yields this:
> quirk: unmatched ' [9]

I cannot reproduce this and looking at the source it seems that it should
not happen.  Are you absolutely sure that /usr/local/bin/zsh is really
zsh-3.0.0?  Older zsh versions did have this problem.

Zoltan



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