A shell linting utility.
Perl Shell Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore Initial commit of shlint Oct 24, 2012
LICENSE
README.md Add 'No Maintenance Intended' banner. Jan 14, 2016
shlint.gemspec

README.md

shlint - shell linting utility.

No Maintenance Intended

Shlint uses locally available shells to test a shellscript for portability issues. It also runs checkbashisms against the code.

Default shells tested are: zsh ksh bash dash sh

Customize testing

Place a .shlintrc file in your homedir to override default shells. This is expected to be shell syntax, specified as:

shlint_shells="list installed shells here separated by spaces"

OSX Users:

Use brew (http://mxcl.github.com/homebrew/) to install additional shells if you're missing any.

Install

If you're a ruby user, can install using gem install shlint

Any other nix platform, just drop the contents of lib into your $PATH

Resources