scope
ShellCheck
Our great sponsors
scope | ShellCheck | |
---|---|---|
0 | 325 | |
5 | 29,509 | |
- | - | |
0.0 | 7.6 | |
over 9 years ago | 6 days ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scope
We haven't tracked posts mentioning scope yet.
Tracking mentions began in Dec 2020.
ShellCheck
-
Any useful materials for bash scripting?
Tons of tutorials exist, so I'll just mention a very useful tool for debugging and optimizing shell scripts instead: https://github.com/koalaman/shellcheck
-
My first utility in my job
Okay, my code does that what I need, I used https://www.shellcheck.net/ to fix some issues on my code and get better practices but I think with some pair of eyes it can be even better if you guys tell me what I did wrong or if there is a better way to do the same task. Thanks for reading this and have a wonderful day/night :)!
-
what is playing right now? - bash scirpt
Check out shellcheck, it's amazing.
-
Void Linux + KDE + xbps Notification via kdialog without octo (a simple alternative)
For future shell scripting, consider installing Shellcheck and adding the extension to whatever editor you use so it gives you feedback as you write. It's in the repos, and it turns shell from a confusing mess into, in many cases, a more ergonomic language than, say, Python.
- YSK: You usually should use "&&" instead of ";" in Bash
-
A SCRIPT TO FIND FILES WITH A QUERY
And to check your scripts: https://www.shellcheck.net/
-
What are your shortcuts/macro to save time while coding?
If you need to write any shell scripts, get shellcheck.
- What am i doing wrong ? Beginner but liking bash, pls help :)
-
Why arent the archlinux-keyring package automatically updated before any other packages when doing pacman -Syu?
OP needs to make friends with Shellcheck
-
When do you disagree with ShellCheck?
I did a cursory search on Github and it seems there are more false positives related to associative arrays, so I'd take all related warnings with a grain of salt. The issue for the false positive above seems to be this one: https://github.com/koalaman/shellcheck/issues/2393
What are some alternatives?
bash-language-server - A language server for Bash
shfmt - Dockernized shfmt. This formats shell script.
efm-langserver - General purpose Language Server
PowerShell - PowerShell for every system!
neomake - Asynchronous linting and make framework for Neovim/Vim
sh - A shell parser, formatter, and interpreter with bash support; includes shfmt
shellharden - The corrective bash syntax highlighter
proot - An chroot-like implementation using ptrace.
ohmyzsh - 🙃 A delightful community-driven (with 2,000+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
stan - 🕵️ Haskell STatic ANalyser
babashka - Native, fast starting Clojure interpreter for scripting
maam - A monadic approach to static analysis following the methodology of AAM