Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Oct 2018, 06:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Shellcheck
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
scsijon

Joined: 23 May 2007
Posts: 1362
Location: the australian mallee

PostPosted: Sun 15 Jul 2018, 07:02    Post subject:  Shellcheck
Subject description: ShellCheck is a GPLv3 tool that gives warnings and suggestions for bash/sh shell scripts
 

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

Think this should be added to woof (all versions) as a standard (please).

Quote:
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/viewtopic.php?t=111331&search_id=167293374 from pro
and
http://www.murga-linux.com/puppy/viewtopic.php?t=106696&search_id=167293374 from mcewanw

regards.
Back to top
View user's profile Send private message Visit poster's website 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Sat 21 Jul 2018, 05:38    Post subject:  

Just tried it on a 50 line script and got 40 errors . Too much work but thanks.
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0221s ][ Queries: 11 (0.0022s) ][ GZIP on ]