Hi,

I wasn't planning on executing the scripts, just scan them looking for
potential issues.

Here are a few tools that I've found:
checkbashisms, loker, shanal

I've integrated checkbashisms into Jenkins using the excellent
warnings plugin.
It certainly found some issues.

Has anyone tried loker, shanal or anything else ?

Thanks !

On May 2, 8:30 pm, Sami Tikka <sjti...@gmail.com> wrote:
> What kind ofstaticanalysisare you looking for?
>
> You can do a syntax check for a script by running "bash -n script.sh",
> but that's all thestaticanalysisI have ever done for shell scripts.
>
> -- Sami
>
> 2012/5/2 Nig <nigel.robb...@wallstreetsystems.com>:
>
>
>
> > Hi,
> > Does anyone know if there are anystaticanalysistools for Unix shell
> > scripts (e.g. sh, ksh) ?
> > Thanks !- Hide quoted text -
>
> - Show quoted text -

Reply via email to