bach
strictbash
bach | strictbash | |
---|---|---|
1 | 2 | |
545 | 6 | |
0.6% | - | |
6.7 | 0.0 | |
4 months ago | over 1 year ago | |
Shell | Nix | |
GNU General Public License v3.0 or later | MIT License |
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.
bach
-
Shellcheck finds bugs in your shell scripts
I also recommend https://github.com/bach-sh/bach when you have to use Bash for things long enough it probably shouldn't be!
strictbash
-
Shellcheck finds bugs in your shell scripts
Shellcheck is a godsend
https://github.com/jamespwilliams/strictbash, I wrote this little wrapper a while back that you can use as a shebang for scripts. It runs shellcheck for you before the script executes, so it’s not possible to run the script at all if there are failures. It also sets all the bash “strict mode” [0] flags.
[0] http://redsymbol.net/articles/unofficial-bash-strict-mode/
- Show HN: Strictbash – enable Bash “strict mode” & run shellcheck via a shebang
What are some alternatives?
shh - Simple shell like scripting from Haskell
tbd - Tests your programs.
ShellCheck - ShellCheck, a static analysis tool for shell scripts
shellspec - A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells
bash_shell_mock - A shell script mocking utility/framework for the BASH shell
fetchurls - A bash script to spider a site, follow links, and fetch urls (with built-in filtering) into a generated text file.
android-get-saved-wifi-passwords - Bash Script To Retrieve Saved Wi-Fi Passwords On Rooted Android Devices
Shwift - Shell scripting in Swift
shellcheck-gitlab-ci-scripts-hook