test command (in-)compatibility
test' in GRUB implicitly assumes and' operation between consecutive terms and does not enforce proper syntax like UNIX (bash) `test' does. Both
test x y z
test x = y z = w
result in error in Linux and are silently accepted by GRUB with interpretation
test x -a y -a z
test ( x = y ) -a ( z = w )
I do not have any strong opinion about it; but simply documenting it needs the least efforts :)
Quoted 6 lines · Andrei Borzenkov
test' in GRUB implicitly assumesand' operation between consecutive terms and does not enforce proper syntax like UNIX (bash) `test' does. Bothtest x y z
test x = y z = w
Quoted 9 lines
result in error in Linux and are silently accepted by GRUB with interpretation
test x -a y -a z
test ( x = y ) -a ( z = w )I do not have any strong opinion about it; but simply documenting it needs the least efforts :)
Documented
Quoted 5 lines
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel