aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/diff3/diff3.1
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* diff3: Add man page description for version and helpTom Jones2022-06-231-2/+9
| | | | | | Reviewed by: Pau Amma Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D35325
* diff3: Add support for -mTom Jones2022-04-191-1/+3
| | | | | | | | | | | | | | | diff3 in -m mode generates a complete file with changes bracketed with conflict markers. This adds support for diff3 to generate version control style three way merge output. The output format was inferred from looking at the gnu diff3 output on a selection of test files as a specification of what diff3 -m should output is not available. It is likely there are cases where the -m output differs from other tools and I am happy to update diff3 to address these. Discussed with: pstef, kevans Sponsored by: Klara, Inc.
* diff3: Add support for -ATom Jones2022-04-191-2/+4
| | | | | | | | | | | | | | | | | | | Diff3 in -A mode generates an ed script to show how the 3 files and brackets changes that conflict. The ed script generated should when applied leave familiar merge conflict markers in a patched file. Diff3 output is not documented, this feature has been arrived at by comparing bsd diff3 output to gnu diff3 output until they were made to agree. There are likely to still be differences between these formats. The gnu diff3 guide is actually quite good at explaining how diff3 output should appear, but it doesn't cover every form of output from diff3. https://www.gnu.org/software/diffutils/manual/diffutils.html#Comparing-Three-Files Discussed with: pstef, kevans Sponsored by: Klara, Inc.
* diff3: document and test -TPiotr Pawel Stefaniak2021-08-251-2/+9
| | | | | Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D31650
* diff3: implement --strip-trailing-crPiotr Pawel Stefaniak2021-08-231-0/+3
| | | | | Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D31626
* diff3.1: update manual page to match codePiotr Pawel Stefaniak2021-08-231-6/+27
|
* Update the diff3 manpage to reflect the fact the version in freebsd doesBaptiste Daroussin2017-05-251-21/+1
| | | | | | | not use temporary files nor uses a /usr/libexec/diff3prog Notes: svn path=/head/; revision=318892
* Import working progress BSD diff3Baptiste Daroussin2017-05-251-0/+202
import bsd diff3 from OpenBSD. Differences with OpenBSD: - lots of warning fixed - no shell wrapper with diff3 actually living in libexec - capsicumized Keep it disconnected as it is not yet good enough to replace GNU diff The motivation to import it now it to allow other people to jump in and also to have an open development on it Obtained from: OpenBSD Notes: svn path=/head/; revision=318888