|
From: | Paul Eggert |
Subject: | bug#25749: grep 3.0 skips "binary" lines in ssconvert output |
Date: | Wed, 15 Feb 2017 23:53:41 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
Alexey Shipunov wrote:
it does not explain why grep 2.5.4 has no problem with this file
Your test case relies on undefined behavior. In such cases, the behavior might be want you want, and it might not. Although 2.5.4 happened to work the way you wanted, its behavior was not guaranteed and had some other downsides, which is why it was changed.
[Prev in Thread] | Current Thread | [Next in Thread] |