(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Sep 2020, 16:28
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Shellcheck
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
scsijon

Joined: 23 May 2007
Posts: 1600
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]  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. 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.1038s ][ Queries: 11 (0.0674s) ][ GZIP on ]