Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: spurious 'case' parse error
Op 22-09-17 om 16:42 schreef Bart Schaefer:
> That's almost certainly happening because
>
> case xecho in
> (x|y)echo)echo ok;;
> esac
>
> is valid syntax for zsh, so (x)echo is being parsed as a pattern and then
> the closing paren is found to be missing.
That makes sense. Also, when zsh is launched as 'sh', the parsing error
does not occur. Report withdrawn. Sorry for the noise!
- M.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author