|
|
|
|
|
by xyzzy_plugh
641 days ago
|
|
> it seems odd that an experienced script writer would be falling foul of shellcheck being pedantic about what you're writing. It's not simply being pedantic, it is wrong. Your writing gives the impression that the tool is infallible. If I was new to writing shell scripts, shellcheck is clearly a wise choice. The language is loaded with footguns. But as someone who has been writing scripts for decades, I already know about all the footguns. My experience with shellcheck is that it mostly finds false positives that waste my time. |
|
I think the huge number of footguns is what makes BASH scripting fun.