Re: Static Analysis of Unix Shell Scripts

2012-05-04 Thread Nig
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,

Re: Static Analysis of Unix Shell Scripts

2012-05-02 Thread Sami Tikka
What kind of static analysis are you looking for? You can do a syntax check for a script by running "bash -n script.sh", but that's all the static analysis I have ever done for shell scripts. -- Sami 2012/5/2 Nig : > Hi, > Does anyone know if there are any static analysis tools for Unix shell >

Static Analysis of Unix Shell Scripts

2012-05-02 Thread Nig
Hi, Does anyone know if there are any static analysis tools for Unix shell scripts (e.g. sh, ksh) ? Thanks !