https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244533
Bug ID: 244533 Summary: [patch] diff(1) --label not honoured for "print_status" Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: ja...@catflap.org Attachment #212065 text/plain mime type: Created attachment 212065 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212065&action=edit patch to restore -label functionality Various options to "diff(1)" show filenames, and traditionally make use of the "--label" parameter, if set. The BSD diff supports --label for unified and context diffs, but doesn't for these other cases. GNU diff, as previously installed in base did: % diff --label hello --label world -s /COPYRIGHT /COPYRIGHT Files /COPYRIGHT and /COPYRIGHT are identical % gdiff --label hello --label world -s /COPYRIGHT /COPYRIGHT Files hello and world are identical % diff --label hello --label world /bin/ls /bin/pwd Binary files /bin/ls and /bin/pwd differ % gdiff --label hello --label world /bin/ls /bin/pwd Binary files hello and world differ etc. The attached patch restores the previous behaviour. Cheers, Jamie -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"