HomeFreeBSD

diff(1): Refactor -B a little bit

Description

diff(1): Refactor -B a little bit

Instead of doing a second pass to skip empty lines if we've specified -I, go
ahead and check both at once. Ignore critera has been split out into its own
function to try and keep the logic cleaner.

Details

Provenance
kevansAuthored on
Parents
rS338039: diff(1): Implement -B/--ignore-blank-lines
Branches
Unknown
Tags
Unknown