|
| 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
| [Prev in Thread] | Current Thread | [Next in Thread] |