[Bug 252515] diff incorrectly reports files as different when with -q -w options set

2021-01-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252515 Ed Maste changed: What|Removed |Added Assignee|b...@freebsd.org|ema...@freebsd.org Status|O

[Bug 252515] diff incorrectly reports files as different when with -q -w options set

2021-01-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252515 --- Comment #4 from Ed Maste --- Oops, sorry for my confusing reply, I had it backwards. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebsd.org ma

[Bug 252515] diff incorrectly reports files as different when with -q -w options set

2021-01-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252515 --- Comment #3 from Ed Maste --- My preference, if GNU diff did not exist, would be to leave the code as is, and change the man page to be clear. I would argue that -q and -w are independently useful, and being able to use -q with whitespac

[Bug 252515] diff incorrectly reports files as different when with -q -w options set

2021-01-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252515 --- Comment #2 from Scott Aitken --- Sorry, I’m confused. Are you suggesting: a) the current behaviour is correct and the man page needs remediation. (ie: the '-q’ should modify the matching logic), or b) the current behaviour is incorrec

[Bug 252515] diff incorrectly reports files as different when with -q -w options set

2021-01-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252515 --- Comment #1 from Ed Maste --- Interesting; GNU diff behaves as you expected: $ diff -qw a b; echo $? Files a and b differ 1 $ gdiff -qw a b; echo $? 0 That said I think the behaviour of BSD diff is more useful; in any case the man page

[Bug 252515] diff incorrectly reports files as different when with -q -w options set

2021-01-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252515 Mateusz Piotrowski <0...@freebsd.org> changed: What|Removed |Added CC||0...@freebsd

[Bug 252515] diff incorrectly reports files as different when with -q -w options set

2021-01-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252515 Bug ID: 252515 Summary: diff incorrectly reports files as different when with -q -w options set Product: Base System Version: 12.2-RELEASE Hardware: amd64