HomeFreeBSD

Use '^[>+][^+]' instead of '^[>+]' with grep(1) when filtering the

Description

Use '^[>+][^+]' instead of '^[>+]' with grep(1) when filtering the
diff(1) output between two files in "new_only"-mode. Otherwise,
with the default of using unified format a remnant of the header
in the output is the result. This is especially irritating when
the two files differ but the second one is empty, amounting to the
vestige of the header being the only readout.
Reported by: Stefan Haemmerl

MFC after: 3 days

Details

Provenance
mariusAuthored on
Parents
rS295031: Use intptr_t note ptrdiff_t when storing flags in the bottom bits of
Branches
Unknown
Tags
Unknown