Next: Obtaining and Building GRUB, Previous: Invoking grub-probe, Up: Top [Contents][Index]
grub-script-check takes a GRUB script file
(see Shell-like scripting) and checks it for syntax errors, similar to
commands such as
sh -n. It may take a path as a non-option
argument; if none is supplied, it will read from standard input.
grub-script-check accepts the following options:
Print a summary of the command-line options and exit.
Print the version number of GRUB and exit.
Print each line of input after reading it.