Shellcheck

Talk about and post software packages known to work or packaged for Puppy.
Post Reply
Message
Author
scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

Shellcheck

#1 Post by scsijon »

Not sure where this should be, moderators, please move.

Think this should be added to woof (all versions) as a standard (please).
The goals of ShellCheck are:

To point out and clarify typical beginner's syntax issues that cause a shell to give cryptic error messages.

To point out and clarify typical intermediate level semantic problems that cause a shell to behave strangely and counter-intuitively.

To point out subtle caveats, corner cases and pitfalls that may cause an advanced user's otherwise working script to fail under future circumstances.
https://github.com/koalaman/shellcheck

various url's are there for compiled versions;

would have saved me some three hours of eyestrain.

and yes it's in two puppy threads
http://www.murga-linux.com/puppy/viewto ... =167293374 from pro
and
http://www.murga-linux.com/puppy/viewto ... =167293374 from mcewanw

regards.

april

#2 Post by april »

Just tried it on a 50 line script and got 40 errors . Too much work but thanks.

Post Reply