Projects / bashcritic

bashcritic

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

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  31 Jan 2008 16:00

    Release Notes: A syntax error in a check rule which prevented the tool from running correctly was corrected.

    •  30 Jan 2008 16:11

      Release Notes: 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).

      •  20 Oct 2007 21:10

        Release Notes: Rules are not checked in comments and strings. Warnings are no longer grouped by type but sorted by line number. New checks were added. A bug in which --help was ignored was fixed. The shebang is now patched by Makefile.PL/make.

        •  18 Oct 2007 15:23

          Release Notes: An error in rule definition that caused bashcritic to stop before executing all the rules was fixed.

          •  18 Oct 2007 15:23

            Release Notes: The field shells is now an array reference. A given rule is checked only for a set of shells. 80 columns seems to be what is usually recommended (Sun and Linux kernel). The FUNCTION description has been reworded. Command substitution of the form "$(COMMAND)" is not accepted when --bourne is specified. The ">&" type of redirection is in the POSIX standard and is now accepted. The advice about arithmetic compounds has been removed. This release will warn about here string for every shell. EXPORT_ASSIGN has been reformatted, which is only relevant for Bourne. There is a new rule about export and variable quoting.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.