On Wed, Jun 19, 2013 at 4:34 AM, João Ricardo Sares Teles de Matos <[email protected]> wrote: > Can the documentation for the "test" command from GNU Coreutils be used > safely for GRUB 2's "[" command?
Yes. For all features common to bash* and grub-script, those features should have the same syntax unless there is a pressing reason for them not to (which is very rare and so if you notice any discrepancies please file a bug report). * Technically you asked about /usr/bin/[ from GNU Coreutils, which is not bash, but '[' and 'test' are also builtin functions in bash, and you'll get very similar results from "help test". -- Jordan Uggla (Jordan_U on irc.freenode.net) _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
