|
From: | Andrei Borzenkov |
Subject: | test command (in-)compatibility |
Date: | Tue, 8 Dec 2015 19:36:43 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
`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 :)
[Prev in Thread] | Current Thread | [Next in Thread] |