help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] automatic syntax check?


From: Patrick Schleizer
Subject: [Help-bash] automatic syntax check?
Date: Sat, 05 Jul 2014 08:51:05 +0000

Hi!

How (in)sane would it be to add something like

    bash -n "$0" || exit 1

to the beginning of bash scripts to have some basic syntax checking?

Any other advise for automatic syntax check?

Cheers,
Patrick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]