|4 days ago||2 months ago|
|GNU General Public License v3.0 or later||Mozilla Public License 2.0|
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.
Variables in Bash Script
1 project | reddit.com/r/linuxquestions | 16 May 2022
ShellCheck warns about this and other common problems
Can't figure out how to accept user input to break out of while loop
2 projects | reddit.com/r/bash | 15 May 2022
This, plus [shellcheck](https://www.shellcheck.net/) or something similar should help you figure out most problems a LOT faster.
I can't for the life of me figure out the weird syntax!
1 project | reddit.com/r/linuxmasterrace | 14 May 2022
shellcheck is quite nice to check your syntax for mistakes, even ones that don't usually cause issues but perhaps on files with spaces in their names, etc.
i was watching a tutorial of learning bash but came across this error. can anyone help?
1 project | reddit.com/r/bash | 14 May 2022
Final suggestion, run your script through https://www.shellcheck.net/ to get suggestions on improvements.
Choosing an improved terminal/shell and need help
3 projects | reddit.com/r/Fedora | 14 May 2022
A tool like shellcheck can help quite a bit in navigating bash requirements: https://github.com/koalaman/shellcheck I'd suggest using Zsh interactively (w/ syntax highlighting, autocompletion, easy to use hook functions, etc.); & stick to bash with shellcheck analysis for scripting generally.
AWK return/print as nested array in Bash
2 projects | reddit.com/r/sysadmin | 13 May 2022
So you probably want two nested while loops as you count down or up the array. These examples should fix you up. I recommend the vanilla POSIX while example, and install the command-line version of shellcheck to lint your code as you go along.
Why does this command always output "bar"
1 project | reddit.com/r/bash | 11 May 2022
Note, also: https://github.com/koalaman/shellcheck/wiki/SC2015
My code isn’t working as expected, would like some help
1 project | reddit.com/r/bash | 10 May 2022
Bash script to generate patched APK
2 projects | reddit.com/r/revancedapp | 7 May 2022
shellcheck should have caught the above, so the best tip of this lot is probably to introduce you to shellcheck if you weren’t aware of it. It’s not always right, but it’s caught a lot of bugs that I would have otherwise committed.
Bash-ohjelmoinnin (Unix) opiskelu itsenäisesti
2 projects | reddit.com/r/arkisuomi | 6 May 2022
similar to shellcheck?
5 projects | reddit.com/r/bash | 21 Apr 2022
Also worth mentioning shellharden
5 projects | news.ycombinator.com | 16 Feb 2022
* https://www.shellcheck.net/ — linting tool to avoid common mistakes and improve your script
* Bash Practices: https://mywiki.wooledge.org/BashGuide/Practices
* Bash Pitfalls: https://mywiki.wooledge.org/BashPitfalls
* safe ways to do things in bash: https://github.com/anordal/shellharden/blob/master/how_to_do...
* better scripting: https://robertmuth.blogspot.in/2012/08/better-bash-scripting...
* robust scripting: https://www.davidpashley.com/articles/writing-robust-shell-s...
Code formatter, linters, etc. Recommendations?
4 projects | reddit.com/r/bash | 29 Sep 2021
There is shellcheck, and shellharden which is a strict version of it. There are similar stuff here, some that also help with your editor. You can also use a docker version of shfmt. See here for a quick tutorial on shfmt.
What is best Method of Submitting Bash Script, short Python ignorance confession (lament.)
2 projects | reddit.com/r/bash | 9 Sep 2021
Regarding linters, there are several of them in most languages.For bash, there is Shellcheck or a more strict (and sometimes confusing) Shellharden to do exactly what you want.
Awesome Rewrite It In Rust - A curated list of replacements for existing software written in Rust
2 projects | reddit.com/r/commandline | 27 May 2021
For example, shellharden looks awesome.
anordal/shellharden Safe ways to do things in bash
1 project | reddit.com/r/bash | 5 Apr 2021
How to do things safely in Bash
1 project | reddit.com/r/u_nixcraft | 3 Apr 20211 project | reddit.com/r/commandline | 3 Apr 2021
How to do things safely in Bash (2018)
1 project | reddit.com/r/patient_hackernews | 3 Apr 20211 project | reddit.com/r/hackernews | 3 Apr 2021
What are some alternatives?
bash-language-server - A language server for Bash
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
shfmt - Dockernized shfmt. This formats shell script.
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