Skip to content

lint.sh is broken on macOS 10.8+ due to a different version of grep #64

Closed
@maksimov

Description

@maksimov

OSX have switched from GNU grep to BSD grep in version 10.8 and for this reason grep -P is no longer supported.

There is a workaround to install pcre grep, which will install GNU grep and -P will work again:
brew install grep --with-default-names

Another solution is to change grep -P to a relevant perl command, details can be found here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions