About 50 results
Open links in new tab
  1. ShellCheck – Shell script analyzer

    ShellCheck is a free, online and offline tool that detects problems and suggests improvements to shell scripts.

  2. ShellCheck – shell script analysis tool

    ShellCheck is an open source static analysis tool that automatically finds bugs in your shell scripts.

  3. ShellCheck: SC2110 – In ` [ [..]]`, use `||` instead of `-o`.

    ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.

  4. ShellCheck: SC3063 – In POSIX sh, test -R and namerefs in general are ...

    Rationale: [ -R name ] is used to check whether name is a nameref. Since POSIX sh has no namerefs, either use a shell that does, or rewrite to not need namerefs.

  5. ShellCheck: SC2061 – Quote the parameter to `-name` so the shell …

    These compete with the shell's pattern expansion, and must therefore be quoted so that they are passed literally to find. The example command may end up executing as find . -name README.txt after the …

  6. ShellCheck: SC1085 – Did you forget to move the ;; after extending this ...

    is a static analysis tool for shell scripts. This page is part of its documentation.

  7. www.shellcheck.net

    SC2033 – Shell functions can't be passed to external commands. Use separate script or sh -c. SC2034 – foo appears unused. Verify it or export it. SC2035 – Use `./*glob*` or `-- *glob*` so names with …

  8. ShellCheck: SC2222 – This pattern never matches because of a previous ...

    This pattern never matches because of a previous pattern. See companion warning SC2221. ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.

  9. ShellCheck: SC2112 – `function` keyword is non-standard. Delete it.

    Rationale: function is a non-standard keyword that can be used to declare functions in Bash and Ksh. In POSIX sh and dash, a function is instead declared without the function keyword as in the correct …

  10. ShellCheck: SC2232 – Can't use `sudo` with builtins like `cd`. Did you ...

    Rationale: Due to the Unix process model, sudo can only change the privileges of a new, external process. It can not grant privileges to a currently running process. This means that shell builtins -- …