<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/diff/diff.1, branch releng/12.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-08-19T03:57:20Z</updated>
<entry>
<title>diff(1): Implement -B/--ignore-blank-lines</title>
<updated>2018-08-19T03:57:20Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2018-08-19T03:57:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e68edb8cf06a796453378b98d963692c838c400f'/>
<id>urn:sha1:e68edb8cf06a796453378b98d963692c838c400f</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Cross reference pr(1) which diff might call with -l option</title>
<updated>2017-04-20T19:14:52Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-04-20T19:14:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=933870f0d15022c5b0fe67b07d0a905a36c8bee8'/>
<id>urn:sha1:933870f0d15022c5b0fe67b07d0a905a36c8bee8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document all long options</title>
<updated>2017-04-20T19:05:43Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-04-20T19:05:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bcf91ad6d37242cff083060455337942cd3443c5'/>
<id>urn:sha1:bcf91ad6d37242cff083060455337942cd3443c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement a basic --changed-group-format</title>
<updated>2017-04-20T14:22:33Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-04-20T14:22:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fddcb7b82ff45dc9e08bab26bbfe7a2d2e8ca20f'/>
<id>urn:sha1:fddcb7b82ff45dc9e08bab26bbfe7a2d2e8ca20f</id>
<content type='text'>
etcupdate(8) requires that option, while GNU diff supports many more variation
of that options, their behaviour beside the simple verion implemented here are
quite inconsistent as such I do not plan to implement those.

The only special keyword supported by this implementation are: %&lt; and %&gt;
%= is not implemented as the documentation of GNU diff says: common lines, but
it actually when tested print the changes from the first file
</content>
</entry>
<entry>
<title>add a stub --speed-large-files for compatibility with GNU diff</title>
<updated>2017-04-08T08:46:02Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-04-08T08:46:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a077708d356b8c6c896cac91a44848115a574bd2'/>
<id>urn:sha1:a077708d356b8c6c896cac91a44848115a574bd2</id>
<content type='text'>
There is no intention to implement it, but lots of scripts/tools using
diff(1) passes GNU diff option
</content>
</entry>
<entry>
<title>diff(1): document remaining long options</title>
<updated>2017-03-23T04:35:52Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-03-23T04:35:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7dacb9e765019feeaa1afd9a3714fc54d0145925'/>
<id>urn:sha1:7dacb9e765019feeaa1afd9a3714fc54d0145925</id>
<content type='text'>
While here, try and tie together some of the short options with
their long option equivalents, where possible.

Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>diff(1): fix SYNOPSIS section noting non-existent option, --no-ignore-case</title>
<updated>2017-03-22T18:13:14Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-03-22T18:13:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=78b83a1ea1755129c405415d0deaaa9cef0fa3af'/>
<id>urn:sha1:78b83a1ea1755129c405415d0deaaa9cef0fa3af</id>
<content type='text'>
`--no-ignore-case` should be `--no-ignore-file-name-case` per code for
compatibility with [g]diff(1).

Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>diff(1): add --strip-trailing-cr to last example in the SYNOPSIS</title>
<updated>2017-03-19T21:49:15Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-03-19T21:49:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9ba2762423d1e5c630f34c265d160d1421bb0ae1'/>
<id>urn:sha1:9ba2762423d1e5c630f34c265d160d1421bb0ae1</id>
<content type='text'>
This syncs the last example in the SYNOPSIS with the other examples.

Reviewed by:	bapt
Sponsored by:	Dell EMC Isilon
Differential Revision:	D10017
</content>
</entry>
<entry>
<title>diff(1): sort long options under -D example in SYNOPSYS</title>
<updated>2017-03-15T17:54:47Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-03-15T17:54:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b7ea08a976f32fd9b9d054f00f423501a10033b9'/>
<id>urn:sha1:b7ea08a976f32fd9b9d054f00f423501a10033b9</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>Fix wrong date in diff(1)</title>
<updated>2017-03-12T03:36:33Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-03-12T03:36:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=57f942af8136a3a02d1fca3435619a60e3f2cb83'/>
<id>urn:sha1:57f942af8136a3a02d1fca3435619a60e3f2cb83</id>
<content type='text'>
Reported by:	rgrimes
</content>
</entry>
</feed>
