Thread overview
[OT] do we have lint for bash?
Apr 23, 2017
Kagamin
Apr 23, 2017
cym13
Apr 23, 2017
Vladimir Panteleev
April 23, 2017
https://abload.de/img/tmpliy6q.png
April 23, 2017
On Sunday, 23 April 2017 at 09:51:36 UTC, Kagamin wrote:
> https://abload.de/img/tmpliy6q.png

I guess you're looking for something like http://www.shellcheck.net/

However I don't see how an automated tool could have found the error in your screenshot as passing multiple arguments to rm is a perfectly reasonnable thing. Maybe it could have suggested to put quotes which would have helped though. It's too peculiar to be expected from a generic tool though IMHO.
April 23, 2017
On Sunday, 23 April 2017 at 10:07:30 UTC, cym13 wrote:
> On Sunday, 23 April 2017 at 09:51:36 UTC, Kagamin wrote:
>> https://abload.de/img/tmpliy6q.png
>
> I guess you're looking for something like http://www.shellcheck.net/
>
> However I don't see how an automated tool could have found the error in your screenshot as passing multiple arguments to rm is a perfectly reasonnable thing. Maybe it could have suggested to put quotes which would have helped though. It's too peculiar to be expected from a generic tool though IMHO.

ShellCheck does catch that. https://github.com/koalaman/shellcheck/wiki/SC2114