Skip to content

Request for improvement: SC2039 (and others) check POSIXLY_CORRECT #571

@arth1

Description

@arth1

Example:

export POSIXLY_CORRECT=1
/bin/echo -e "foo\nbar"
( unset POSIXLY_CORRECT && /bin/echo -e "foo\nbar" )

This should return a warning for the first echo, but not the second.
As it is, it returns a warning for both if --shell=sh and none if --shell=bash

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