Our great sponsors
- SonarLint - Clean code begins in your IDE with SonarLint
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
- InfluxDB - Access the most powerful time series database as a service
|6 days ago||3 days ago|
|GNU General Public License v3.0 only||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.
First time writing bash scripts for work, not sure if this is true elsewhere
3 projects | reddit.com/r/ProgrammerHumor | 21 May 2023
not sure about unit/functional testing, but https://www.shellcheck.net/ is handy for linting and finding bad practice.
Bash newbie here, wanted to know your opinion
3 projects | reddit.com/r/bash | 18 May 2023
First, how did ShellSheck didn't give you warnings, if you checked it?
Bash script string argument is interpreted als multiple arguments
2 projects | reddit.com/r/linuxquestions | 14 May 2023
BTW, check out https://www.shellcheck.net/. You can install it to your computer and it'll warn you about this and many other ways you can accidentally shoot at your own foot with Bash.
Take your BASH scripting seriously
2 projects | dev.to | 4 May 2023
This is super easy but, may not always be enough.. Luckily, the fine people at ShellCheck gave this some thought and created a nifty tool. It’s got a nice README, is available via most decent package managers and, even has a web interface where you can test snippets (in case you’re bored and on the tube, I guess). The README also includes a Gallery of bad code to showcase some of the stuff shellcheck can pick up on.
3 projects | reddit.com/r/linuxmint | 4 May 2023
Bash because it's everywhere and I've put effort into learning it properly. My scripts almost always pass shellcheck first try, and I know the syntax of bash-specific features reasonably well. I don't see any advantage to learning another shell which I need to explicitly install and relearn all over again.
[P] Convert Any language to a Linux command (one-liner)
2 projects | reddit.com/r/MachineLearning | 27 Apr 2023
The Prompt logic could include some nuance to flag potentially harmful commands, but it would still be potentially fallible. However, you raise an excellent point, and value can be added by altering the workflow to run the results through a tool like shellcheck, where you can customize acceptable BASH commands.
Prompt advice for ChatGPT4
2 projects | reddit.com/r/ChatGPTPro | 24 Apr 2023
Idea: Incorporate shellcheck that repeats the code back to the bot until it passes shellcheck at least.
Why is it that a command run from the terminal command line produces line break but the same command run within bash script has no line break/
2 projects | reddit.com/r/bash | 19 Apr 2023
A good way to learn the finicky bits is to run all your scripts through shellcheck. (Better yet, find a plugin for your editor/IDE.) If it flags an issue, read the corresponding wiki page and see if you understand it.
Would love some feedback on my first set of shell scripts
3 projects | reddit.com/r/shell | 5 Apr 2023
Have you run them through shellcheck? https://www.shellcheck.net/
I made a volume and brightness indicator for i3wm using dunst
2 projects | reddit.com/r/i3wm | 29 Mar 2023
Nice work! I recommend using https://www.shellcheck.net/ to make sure your bash script is in a good modern shape
The Case for Bash (2021)
5 projects | news.ycombinator.com | 18 May 2023
Also maybe check out the bash language server.
Eglot or LSP complete in shell?
2 projects | reddit.com/r/emacs | 29 Apr 2023
In that case, I think Eglot supports this language server: https://github.com/bash-lsp/bash-language-server out of the box but I've never tried it.
How often do you google or search for Bash commands/syntax?
2 projects | reddit.com/r/linux | 24 Jun 2022
similar to shellcheck?
5 projects | reddit.com/r/bash | 21 Apr 2022
There are also: - shfmt - sh - bash language server - bashate
How to improve your vim/nvim coding experience with vim-easycomplete?
23 projects | dev.to | 1 Mar 2022
Shell: bash-language-server required.
Ask HN: Let's Build CheckStyle for Bash?
15 projects | news.ycombinator.com | 20 Feb 2022
- Bash Language Server: https://github.com/bash-lsp/bash-language-server
Common shell script mistakes (2008)
5 projects | news.ycombinator.com | 7 Dec 2021
As well, having a bash language server enabled (https://github.com/bash-lsp/bash-language-server) helps immensely.
How can I debug why an LSP is crashing?
2 projects | reddit.com/r/neovim | 17 Nov 2021
I have a very similar issue with bash-ls.
Smart/Intelligent Bash Editor
2 projects | reddit.com/r/termux | 14 Nov 2021
Bash-LSP: A language server for Bash
6 projects | news.ycombinator.com | 1 Apr 2021
> If you would have told me 5 years ago I'd need to install node and typescript in order to get auto completion for bash, I'd have called you crazy.
This line right here means there's no runtime dependencies https://github.com/bash-lsp/bash-language-server/blob/fa5a65...
What are some alternatives?
shfmt - Dockernized shfmt. This formats shell script.
nvim-lspconfig - Quickstart configs for Nvim LSP
PowerShell - PowerShell for every system!
shellharden - The corrective bash syntax highlighter
efm-langserver - General purpose Language Server
neomake - Asynchronous linting and make framework for Neovim/Vim
sh - A shell parser, formatter, and interpreter with bash support; includes shfmt
stan - 🕵️ Haskell STatic ANalyser
hdocs - Haskell docs tool
maam - A monadic approach to static analysis following the methodology of AAM
proot - An chroot-like implementation using ptrace.
shfmt - A shell formatter (sh/bash/mksh)