Re: Syntax check for Shell Scripts



On Feb 18, 4:44 am, Maxwell Lol <nos...@xxxxxxxxxxx> wrote:
Geppo <geppore...@xxxxxxxxxx> writes:
...
Well, there is
        sh -n

May I also suggest utilizing the same "set -n" from ksh93. It is very
enhanced to provide not only the obligatory static syntax checking,
but not portability commentary and deprecated usage, suggestions
and workarounds, etcetera.

ksh93 is free for non-commercial use.

=Brian
.



Relevant Pages