Hi,
The 'test' command has the following change in POSIX 2024 [1]:
Austin Group Defect 375 is applied, adding the
pathname1 -ef pathname2, pathname1 -nt pathname2,
pathname1 -ot pathname2, s1 > s2, and s1 < s2 primaries.
The -ef, -nt, and -ot operators are already implement in Coreutils.
This patch adds '>', '<' as documented [1]:
s1 > s2
True if s1 collates after s2 in the current locale; otherwise, false.
s1 < s2
True if s1 collates before s2 in the current locale; otherwise, false.
They are sort of annoying since they have to be quoted for the shell to
not interpret them as redirections. But now that they are standardized
they should probably be implemented. :)
Collin
[1] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/test.html