6 ms·
Not the first thing to look for, but I've found ShellCheck[1] to be pretty helpful when it comes to correcting typical mistakes. [1]: https://github.com/koalam
by nunull 9y ago
Not the first thing to look for, but I've found ShellCheck[1] to be pretty helpful when it comes to correcting typical mistakes.
[1]: https://github.com/koalaman/shellcheck https://github.com/koalaman/shellcheck
- mafro 9y agoSeconded. Running ShellCheck integrated with your editor (easy with vim/Syntastic) is really great way to improve your bash skills. It will highlight common mistakes, and their wiki explains each one detail and how you should use an alternate, better implementation.
- 12s12m 9y agoThis is a great addition while writing bash scripts. Catches a lot of the bad stuff.