title: Is there a static analysis tool like Lint or Perl::Critic for shell scripts?
body: <p>Are there any shell (specifically bash or ksh) checkers that test shell scripts for style, best practices, naming conventions, etc?  (Something like Lint for C, or Perl::Critic for Perl.)</p>
  
  <p>I know with ksh you can do syntax checking by running <code>ksh -n script.ksh</code> but I was hoping for something more than just sytax checking - something that parses/analyzes the actual code?</p>
  
  <p>I'm probably out of luck, but I guess it doesn't hurt to ask.</p>