Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Comment behaviour
- X-seq: zsh-workers 41491
- From: Jim <linux.tech.guy@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Comment behaviour
- Date: Fri, 4 Aug 2017 13:21:13 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=MxD9FUTnBgENjHHOdtzbSR3npZGCip7ZUZ7k7XZY88k=; b=KGHBHCdST2BmBPMAHg0Hwk/rCfd7pz3cWenFZPtvwQv5EZMV+/NFZs56RGlfw+nrDU ZvR8Ik1Jl2FwokHPjvWByRriAmNnKz1jVLO9ejYfg7oX1431jurBMCeuW1ATth87NvlE bXkrJImXPpcCPGAIhLtZwfBZgTqKDmgo9gF6hE7qKc2vi/ICrfnuETXFklyrOQylIcnP ndBJQ+Pp2xyPo83Hd9IM366tr+FqB+TXPjhz/zHopISDNSm2BlVgUWPjMdr2GDPo10Ha 0eEGqtlIvwRxD9V5ObaRvGoP7iWUTK+0uZamDRYkpVsXgsWjvXmdzQYZQ7f2tUZ3h000 lzPg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Reply-to: linuxtechguy@xxxxxxxxx
ZSH_VERSION: 5.3.1-test-2
Example code produced the following output:
/home/user/.zshrc:<number of last line>: parse error near `\n'
[ -f /bin/zsh ] && {
# code
}# A comment. <<<--- point of error(no space after brace)
IF
} # A comment. <<<--- no error(space after brace)
Also checked "(#", ")#", and "{#" with no errors. FWIW
BUG or did I miss something in the man page? # after a brace in
a nested statement would be valid, but didn't expect it here.
Thanks,
Jim
Messages sorted by:
Reverse Date,
Date,
Thread,
Author