Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bad math expression: illegal character: "
On Fri, Jun 5, 2020 at 2:02 PM Lawrence Velázquez <vq@xxxxxxxxx> wrote:
>
> > On Jun 5, 2020, at 2:18 PM, Artur Renault <Artur.Renault@xxxxxxxxxxxxx>
> >
> > while (( "$#" )); do
> >
> > repro.sh:1: bad math expression: illegal character: "
>
> For what it's worth, dash also rejects this. I assume that it and
> zsh are just more strict about what constitutes a math expression.
Does anybody know if this is something we should change for sh
emulation, or is it merely another unspecified POSIX corner-case?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author