1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/usr.bin/diff/TODO
Kyle Evans e68edb8cf0 diff(1): Implement -B/--ignore-blank-lines
As noted by cem in r338035, coccinelle invokes diff(1) with the -B flag.
This was not previously implemented here, so one was forced to create a link
for GNU diff to /usr/local/bin/diff

Implement the -B flag and add some primitive tests for it. It is implemented
in the same fashion that -I is implemented; each chunk's lines are scanned,
and if a non-blank line is encountered then the chunk will be output.
Otherwise, it's skipped.

MFC after:	2 weeks
2018-08-19 03:57:20 +00:00

18 lines
621 B
Plaintext

-y:
* soc implemented it via calling sdiff directly, but some options are
incompatible so it is fragile
* just recommend the user to run sdiff directly and do not implement it
* make a libsdiff and use that directly to avoid duplicating the code
to be implemented:
--horizon-lines
--ignore-tab-expansion
--line-format
Will probably be not implemented:
--GTYPE-group-format (partially implement - minimal)
--LTYPE-line-format
--help (We have a manpage already)
--suppress-common-lines: depends on -y (won't be implemented, as it conflicts
the way sdiff expects it and in any case we have sdiff for that feature)