On 3/22/24 12:25, Dennis Clarke via Bug reports for GNU grep wrote:
Old Solaris 8, once fully patched, was definately
compliant with SUSv2 which is all of POSIX.1b-1993, POSIX.1c-1996

POSIX does not specify the behavior of grep when the input is not a text file, and a file that ends in a non-newline is not a text file. So Solaris grep and GNU grep can do what they like when the input ends in a non-newline; they don't have to agree with each other.



Reply via email to