News for hackers. Stuff that matters.
Re: by jakogut on Wednesday December 21, 2022 @05:29PM (#34087259)
I find integrating shellcheck into my text editor was one of the best things I've done for increasing my productivity when writing shell scripts.
Re: by danielheath on Wednesday December 21, 2022 @05:36PM (#34087318)
Yep - in the same way that you want govet, eslint, rubocop etc - but to a higher degree, because bash hides subtle bugs as soon as you use a variable without knowing the quoting rules.
Re: by sureglymop on Wednesday December 21, 2022 @06:48PM (#34087932)
Yes, i did the same! I also recommend following Stephane Chazelas on stackoverflow. The guy is a shell wizard who writes multiple quality answers a day. He's also the guy who found the "shellcheck" vuln some years ago. Learned a lot by reading the RSS feed of his SO profile every day.