<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/diff/diff.1, branch releng/14.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-08-01T16:15:57Z</updated>
<entry>
<title>diff: Fix usage message and documentation.</title>
<updated>2024-08-01T16:15:57Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-07-29T14:02:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=45fc37334d077d635dbfdd13f5e085513bf09d49'/>
<id>urn:sha1:45fc37334d077d635dbfdd13f5e085513bf09d49</id>
<content type='text'>
The `--ignore-all-space` option was incorrectly documented as
`--ignore-all-blanks` in some (but not all) places.

MFC after:	3 days
PR:		280434
Sponsored by:	Klara, Inc.
Reviewed by:	0mp, markj
Differential Revision:	https://reviews.freebsd.org/D46160

(cherry picked from commit ab830de9f58c1b257e42b4fbdd46b3ca6a837ee6)
</content>
</entry>
<entry>
<title>diff: Document the --no-dereference option.</title>
<updated>2024-07-04T15:31:09Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-06-30T15:55:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=16a753759e482c8091b195514d50bc94ae501ccf'/>
<id>urn:sha1:16a753759e482c8091b195514d50bc94ae501ccf</id>
<content type='text'>
Also, --no-dereference should not imply --recurse.

MFC after:	3 days
Sponsored by:	Klara, Inc.
Reviewed by:	allanjude
Differential Revision:	https://reviews.freebsd.org/D45779

(cherry picked from commit 4ce4a0fe14c455c6ec77452bc99cd93ea45737b1)
</content>
</entry>
<entry>
<title>diff: Fix --expand-tabs and --side-by-side.</title>
<updated>2024-03-11T12:19:06Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-02-26T18:08:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=da290528974846d3ed49138ca0f2de7fff02eaf6'/>
<id>urn:sha1:da290528974846d3ed49138ca0f2de7fff02eaf6</id>
<content type='text'>
* Overhaul column width and padding calculation.
* Rewrite print_space() so it is now a) correct and b) understandable.
* Rewrite tab expansion in fetch() for the same reason.

This brings us in line with GNU diff for all cases I could think of.

Sponsored by:	Klara, Inc.
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D44014

(cherry picked from commit 53de23f4d140becc3166e87665b0064f215a220e)

diff: Bump manual page date.

Sponsored by:	Klara, Inc.

(cherry picked from commit 312b1076c6b0aff9bbcaff058b93385eaf607685)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line nroff pattern</title>
<updated>2023-08-16T17:55:15Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b2c76c41be32f904179efed29c0ca04d53f3996c'/>
<id>urn:sha1:b2c76c41be32f904179efed29c0ca04d53f3996c</id>
<content type='text'>
Remove /^\.\\"\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>diff: add support for --help and --version</title>
<updated>2022-03-10T16:17:37Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2022-03-10T16:15:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8cf449db88b2c7a505bc241a78f9736b43f2ede5'/>
<id>urn:sha1:8cf449db88b2c7a505bc241a78f9736b43f2ede5</id>
<content type='text'>
Add support for --help and --version to be compatible with gnu diff.

gnu diff --help writes to stdout, do the same to be compatible

Reviewed by:	bapt, pstef, debrup, Pau Amma
Sponsored by:	Klara Inc.
Differential Revision:	https://reviews.freebsd.org/D34508
</content>
</entry>
<entry>
<title>diff: Detect Objective-C methods</title>
<updated>2022-02-18T15:09:57Z</updated>
<author>
<name>Tom Jones</name>
<email>thj@FreeBSD.org</email>
</author>
<published>2022-02-18T15:07:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8f79bd9b85716c495c2741ac25db37e8d71f22f7'/>
<id>urn:sha1:8f79bd9b85716c495c2741ac25db37e8d71f22f7</id>
<content type='text'>
When searching back for function definitions, consider lines starting
with '+' and '-', this allows us to pick up Objective-C methods as well
as C style function definitions.

Reviewed by:	bapt
Sponsored by:	Klara Inc.
Differential Revision:	https://reviews.freebsd.org/D34202
</content>
</entry>
<entry>
<title>diff: implement option -F (--show-function-line)</title>
<updated>2021-09-15T23:46:44Z</updated>
<author>
<name>Piotr Pawel Stefaniak</name>
<email>pstef@FreeBSD.org</email>
</author>
<published>2021-09-05T14:54:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e51aabf8cbb9b412c725c4c9c727ca6faa0630c6'/>
<id>urn:sha1:e51aabf8cbb9b412c725c4c9c727ca6faa0630c6</id>
<content type='text'>
With unified and context diffs, show the last line that matches the
provided pattern before the context.

Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D31714
</content>
</entry>
<entry>
<title>diff(1): Add --color support</title>
<updated>2021-09-15T23:46:44Z</updated>
<author>
<name>Cameron Katri</name>
<email>me@cameronkatri.com</email>
</author>
<published>2021-09-05T00:10:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f38702e5a52e1350b9349bc297ccd0b50b1941c3'/>
<id>urn:sha1:f38702e5a52e1350b9349bc297ccd0b50b1941c3</id>
<content type='text'>
Adds a --color flag to diff(1) that supports the same options as GNU's
diff(1). The colors are customizable with the env var DIFFCOLORS in
a format similar to grep(1)'s GREPCOLORS. An example would be 04;36:41
for additions to be underlined light blue, and deletions have a red
background.

Differential Revision:	https://reviews.freebsd.org/D30545
</content>
</entry>
<entry>
<title>diff(1): Add EXAMPLES section</title>
<updated>2020-06-19T06:48:16Z</updated>
<author>
<name>Fernando Apesteguía</name>
<email>fernape@FreeBSD.org</email>
</author>
<published>2020-06-19T06:48:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=204fa3b0669788bbd054f3faf4ea6b7ea0ae4d5b'/>
<id>urn:sha1:204fa3b0669788bbd054f3faf4ea6b7ea0ae4d5b</id>
<content type='text'>
Add examples for -r, -u, -N, -x, -q and -I

Approved by:	0mp@
Differential Revision:	https://reviews.freebsd.org/D25345
</content>
</entry>
<entry>
<title>Document long version of -b option</title>
<updated>2020-06-01T09:15:15Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2020-06-01T09:15:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8ccef193957e7ca9ec28f8a7e630dae7344691dd'/>
<id>urn:sha1:8ccef193957e7ca9ec28f8a7e630dae7344691dd</id>
<content type='text'>
PR:		234195
Submitted by:	Fehmi Noyan Isi &lt;fnoyanisi@yahoo.com&gt;
Reported by:	Andras Farkas &lt;deepbluemistake@gmail.com&gt;
MFC after:	3 days
</content>
</entry>
</feed>
