bug#69929: Can grep -q report matches in incomplete lines?

2024-03-23 Thread Martin Schulte
Hello David! Am Fri, 22 Mar 2024 20:42:12 + (UTC) schrieb "David G. Pickett" via Bug reports for GNU grep : > Most users consider a line at EOF lacking a trailing newline as still a line, > but perhaps some do not? Well, POSIX doesn't:

bug#69929: Can grep -q report matches in incomplete lines?

2024-03-23 Thread Dennis Clarke via Bug reports for GNU grep
On 3/22/24 16:42, David G. Pickett via Bug reports for GNU grep wrote: > > Most users consider a line at EOF lacking a trailing newline as > still a line, but perhaps some do not? > Good ol "wc" says it is not a line. I would go with what "wc" claims. -- Dennis Clarke

bug#69929: Can grep -q report matches in incomplete lines?

2024-03-23 Thread Dennis Clarke via Bug reports for GNU grep
On 3/22/24 17:12, Paul Eggert wrote: 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