GNU bug report logs - #25749
grep 3.0 skips "binary" lines in ssconvert output

Previous Next

Package: grep;

Reported by: Alexey Shipunov <dactylorhiza <at> gmail.com>

Date: Thu, 16 Feb 2017 05:01:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Alexey Shipunov <dactylorhiza <at> gmail.com>
Cc: 25749-done <at> debbugs.gnu.org
Subject: bug#25749: grep 3.0 skips "binary" lines in ssconvert output
Date: Wed, 15 Feb 2017 23:53:41 -0800
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.




This bug report was last modified 8 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.