Skip to content

The use of '\e' isn't POSIX compliant. #3214

Open
@kkdd

Description

@kkdd

Hello,
I think that the use of '\e' should be warned by shellcheck to be non-POSIX compliant.

$ dash -c "printf '\e'" 
\e$ 
$ bash -c "printf '\e'" 
$ 
$ echo "printf '\e'" | shellcheck -s sh -
$ 
$ shellcheck -V
ShellCheck - shell script analysis tool
version: 0.10.0
license: GNU General Public License, version 3
website: https://www.shellcheck.net

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