Debugging shell scripts: Syntax checking without executing
From the bash(1)
man page:
-n 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.
From the bash(1)
man page:
-n 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.