Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
parenthesis inside $(...)
- X-seq: zsh-workers 22201
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: parenthesis inside $(...)
- Date: Tue, 7 Feb 2006 19:53:59 +0000
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: Stephane Chazelas <stephane_chazelas@xxxxxxxx>
Hi,
Would that:
http://groups.google.com/group/comp.unix.shell/msg/18e47b386da472bd
be an already known issue.
Essentially:
$ zsh << \E
heredoc> echo $(
heredoc> case x in x) echo x;; esac
heredoc> )
heredoc>
heredoc> echo $(
heredoc> echo comment # with )
heredoc> )
heredoc>
heredoc> echo $(
heredoc> cat <<\eof
heredoc> here-doc with )
heredoc> eof
heredoc> )
heredoc>
heredoc> echo $(
heredoc> cat <<\eof
heredoc> ' # or a single back- or doublequote
heredoc> eof
heredoc> )
heredoc> E
zsh: parse error near `;;'
zsh: parse error near `)'
comment
zsh: parse error near `)'
here-doc with
zsh: command not found: eof
zsh: parse error near `)'
zsh: parse error near `$('
Best regards,
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author