Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-3.1.4 bug, parsing case ... esac
- X-seq: zsh-workers 4377
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: zsh-3.1.4 bug, parsing case ... esac
- Date: Thu, 3 Sep 1998 07:51:33 -0700
- In-reply-to: <199809030543.AAA18620@xxxxxxxxxx>
- References: <199809030543.AAA18620@xxxxxxxxxx>
On Sep 3, 12:43am, Zoltan Hidvegi wrote:
} Subject: Re: zsh-3.1.4 bug, parsing case ... esac
}
} > } esac else echo bison ;
} >
} > Blech. That sure doesn't parse according to the bash manual. The
} > stuff between "then" and "else" has to be a properly-terminated list,
}
} Actually, the shell grammar allows this, this is really a zsh bug.
Obviously, this is a surprise to me. Can you point me at "the shell
grammar" that specifies this? The informal one in the man pages/info
sure doesn't.
} Similarily
}
} if ((some math)) then ((some other math)) fi
}
} works. Same for [[ ... ]].
Yes, I knew about those, but I thought they were handled specially.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author