Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Problem with function definition and [[/((
- X-seq: zsh-workers 22514
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Problem with function definition and [[/((
- Date: Sat, 24 Jun 2006 22:17:33 +0100
- 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 guys,
something I just noticed (zsh 4.3.2 and 4.3.2-dev1 from debian
unstable) and looks like a bug to me:
~$ a() [[ a = a ]]
zsh: parse error near `\n'
(1)~$ a() [[ a = a ]]
zsh: parse error near `\n'
(1)~$ a() [[ a = a ]]
zsh: parse error near `\n'
(1)~$ print -P %_
function function function
(1)~$ '
function function function quote>
Same goes for:
odd() (( $1 % 2 ))
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author