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

syntax error with anonymous functions when an argument begins with (



% () { 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