bashate [options] <file> [files…]
The bashate command line utility is a style-checker for bash scripts.
The name is derived from pep8, a Python lint-type tool.
Print help
Verbose output
Tests to ignore, comma separated
Tests to trigger errors instead of warnings, comma separated
Tests to trigger warnings instead of errors, comma separated
Run all tests on a single file:
bashate file.sh
Run tests on several files, while also ignoring several errors:
bashate -i E010,E011 file.sh file2.sh
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.