grub-script-check - check grub.cfg for syntax errors
grub-script-check [PATH]
Checks GRUB script configuration file for syntax errors. -h, --help display this message and exit -V, --version print version information and exit -v, --verbose print the script as it is being processed
Report bugs to <bug-grub@gnu.org>.