digitalmars.D - [OT] do we have lint for bash?
- Kagamin (1/1) Apr 23 2017 https://abload.de/img/tmpliy6q.png
- cym13 (8/9) Apr 23 2017 I guess you're looking for something like
- Vladimir Panteleev (3/12) Apr 23 2017 ShellCheck does catch that.
On Sunday, 23 April 2017 at 09:51:36 UTC, Kagamin wrote:https://abload.de/img/tmpliy6q.pngI 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.
Apr 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:ShellCheck does catch that. https://github.com/koalaman/shellcheck/wiki/SC2114https://abload.de/img/tmpliy6q.pngI 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.
Apr 23 2017