bashcritic 0.3.2

bashcritic is a tool to check shell scripts for common pitfalls.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
3.1/5 12
DEVELOPED BY:
Matteo Corti
HOMEPAGE:
trac.id.ethz.ch
CATEGORY:
ROOT \ Programming \ Quality Assurance and Testing
bashcritic is a tool to check shell scripts for common pitfalls.

bashcritic is in alpha stage: I would appreciate comments as well as suggestions on what could be checked (in addition to the implemented tests).

Usage:

bashcritic [-12345 | --brutal | --cruel | --harsh | --stern | --gentle]
[--posix | --bourne]
[--severity number | name]
[--list [format]]
[-verbose ]
{FILE | STDIN}

possible listing formats
- trac for the trac wiki

Install globally (root/superuser permissions needed)

In the src directory run:

perl Makefile.PL
make
make install

Install locally

In the src directory run:

perl Makefile.PL PREFIX=${HOME}
make
make install

In this case files will be installed in ${HOME}/bin, ${HOME}/lib and
${HOME}/man

What's New in This Release:

Usage documentation was added.
The perlcritic outputlevels were removed, so now there are error, cosmetic, and info only.
The shell is detected from the shebang.
New checks were added.
version.pm was added to the distribution (since it is needed by Makefile.PL).

Last updated on January 30th, 2008

#common pitfalls #check shell scripts #bash critic #pitfalls #shell #script #checker

Add your review!

SUBMIT