shellcheck-4

Shellcheck can warn for the usage of escape-characters in echo-commands. The used regex did not account for all end-of-line characters, missing out potential warnings. The fix is to expand the regex.

ghc-version: 9.2.5

hasbugs-version: 1.0.0

license: GPL3

build-framework: stack

Repository
Test Frameworks:
GitHub Artifacts :

Faults @819470fa

[
  {
    "endline": 486,
    "file": "./src/ShellCheck/Checks/Commands.hs",
    "function": "checkUnusedEchoEscapes",
    "module": "ShellCheck.Checks.Commands",
    "startline": 486
  }
]

Fixes @f7857028

[
  {
    "endline": 493,
    "file": "./src/ShellCheck/Checks/Commands.hs",
    "function": "checkUnusedEchoEscapes",
    "module": "ShellCheck.Checks.Commands",
    "startline": 493
  }
]