Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
syntax error with anonymous functions when an argument begins with (
- X-seq: zsh-workers 29622
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: syntax error with anonymous functions when an argument begins with (
- Date: Wed, 27 Jul 2011 18:48:05 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=QlWIu1oE8C1E+AJoMfI8G/jzLz7t1ozDElNWebyaHLQ=; b=JCNykWLKDtrFroVEgISH8idNSkeS4w52n7ybT97+fqaaeTblK1Q3zkMIIhVdBgW7Na qdHmUJ4ApRLSToVOGJvgIfUJGi//hEkr04C2TL23htakI17VxrAEv3QsfV22WnrJGbp0 Jq39kRjwID9xawmBMLJfDqo/PCr27gU8hzMOs=
- 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
% () { echo yay } hello (a|b)
zsh: parse error near `('
% () { echo yay } (a|b)
zsh: parse error near `('
% () { echo yay } .(#c0)(a|b)
yay
% () { echo yay } ./(a|b)
yay
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author