Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [[ is being treated as a pattern in the command/reserved word position.
On 03/28/2015 05:08 PM, Eric Cook wrote:
> With a recent build, this happens to me. Does it happen for anyone else?
>
> % type [[
> zsh: bad pattern: [[
> % type '[['
> [[ is a reserved word
> % '[[' a == a ]]
> zsh: = not found
> % '[[' a '==' a ]]
> zsh: command not found: [[
> % print $ZSH_PATCHLEVEL
> zsh-5.0.7-0-g208bded
>
forgot to paste the line of trying [[ normally, but that also results in
a bad pattern error.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author