[TynesideLUG] Checking configuration files for errors
Ian Bruntlett
ian.bruntlett at gmail.com
Sun Dec 18 14:55:20 UTC 2022
Hi,
This page is quite enlightening:-
https://www.cyberciti.biz/tips/check-unix-linux-configuration-file-for-syntax-errors.html
I particularly liked the option to get bash to check the syntax of a shell
script without executing it:-
$ bash -n ./myscript
BW,
Ian
--
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/
-- Free Software page -
https://sites.google.com/site/ianbruntlett/home/free-software
More information about the Tyneside
mailing list