[OT] do we have lint for bash?

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 23 03:20:35 PDT 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


More information about the Digitalmars-d mailing list