* test command (in-)compatibility
@ 2015-12-08 16:36 Andrei Borzenkov
2016-01-22 12:26 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 2+ messages in thread
From: Andrei Borzenkov @ 2015-12-08 16:36 UTC (permalink / raw)
To: The development of GNU GRUB
`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 :)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: test command (in-)compatibility
2015-12-08 16:36 test command (in-)compatibility Andrei Borzenkov
@ 2016-01-22 12:26 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2016-01-22 12:26 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 663 bytes --]
On 08.12.2015 17:36, Andrei Borzenkov wrote:
> `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 :)
>
Documented
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-22 12:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-08 16:36 test command (in-)compatibility Andrei Borzenkov
2016-01-22 12:26 ` Vladimir 'φ-coder/phcoder' Serbinenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).