Is there any tool (for win would be fine) which can check my bash syntax, Im learning the scripting in bash so I need any tool which is capable to checj my scripts if there are any type errors.
Thnaks
Is there any tool (for win would be fine) which can check my bash syntax, Im learning the scripting in bash so I need any tool which is capable to checj my scripts if there are any type errors.
Thnaks
See the -n
argument to bash
:
Read commands but do not execute them. This may be used to check a shell script for syntax errors. This is ignored by interactive shells.