Description of problem:
cmp -b (print bytes) shows incorrect output
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.echo 'This is some text to play with' >/var/tmp/a
2.echo 'This is some test to play with' >/var/tmp/b
3.cmp -b /var/tmp/a /var/tmp/b
/var/tmp/a /var/tmp/b differ: byte 16, line 1 is 12 ^J 163 s
/var/tmp/a /var/tmp/b differ: byte 16, line 1 is 170 x 163 s
Local rebuild applying this patch from upstream fixes the problem
I can reproduce the issue with the attached testcase. Pablo, thank for your report.
it's fixed in diffutils-3.6-6.el8
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.