GCC
The GNU Compiler Collection, whose file:line:column: message layout for errors many other tools copy.
In more detail
Its compilers turn C, C++ and other languages into programs and are part of most Linux systems. ShellCheck's --format=gcc prints findings in GCC's one-line layout, which editors and continuous integration systems already know how to parse and link to the source line.
Example
shellcheck --format=gcc script.shRelated terms
- ShellCheck — A linter for shell scripts that reports quoting mistakes, portability problems and common bugs, each with a numbered code.
- GNU — A free-software project that wrote many standard command-line tools, including Bash, grep, sed and the core file utilities.
Taught in
- ShellCheck — Bash Scripting & Command Line Automation
- Minimal Base Images: Less To Attack — Certified Kubernetes Security Specialist (CKS) Exam Prep