grub2: Invoking grub2-script-check
1
1 30 Invoking grub2-script-check
1 ******************************
1
11 The program 'grub2-script-check' takes a GRUB script file (⇒
Shell-like scripting) and checks it for syntax errors, similar to
1 commands such as 'sh -n'. It may take a PATH as a non-option argument;
1 if none is supplied, it will read from standard input.
1
1 grub-script-check /boot/grub2/grub.cfg
1
1 'grub2-script-check' accepts the following options:
1
1 '--help'
1 Print a summary of the command-line options and exit.
1
1 '--version'
1 Print the version number of GRUB and exit.
1
1 '-v'
1 '--verbose'
1 Print each line of input after reading it.
1