BSD Ports

devel/diffutils 3.10 NetBSD

GNU diff utilities - find the differences between files

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v3
Categories
devel
Package size
345.6 KiB, 1830.0 KiB installed

Description

GNU diff utilities:

You can use the `diff' command to show differences between two files, or each corresponding file in two directories. `diff' outputs differences between files line by line in any of several formats, selectable by command line options. This set of differences is often called a "diff" or "patch". For files that are identical, `diff' normally produces no output; for binary (non-text) files, `diff' normally reports only that they are different.

You can use the `cmp' command to show the offsets and line numbers where two files differ. `cmp' can also show all the characters that differ between the two files, side by side.

You can use the `diff3' command to show differences among three files. When two people have made independent changes to a common original, `diff3' can report the differences between the original and the two changed versions, and can produce a merged file that contains both persons' changes together with warnings about conflicts.

You can use the `sdiff' command to merge two files interactively.

In the other systems

SystemPortVersion
NetBSDdevel/diffutils3.10
FreeBSDtextproc/diffutils3.12
DragonFlytextproc/diffutils3.11
MidnightBSDtextproc/diffutils3.12

Install

Binary package:

pkgin install diffutils

From pkgsrc:

cd /usr/pkgsrc/devel/diffutils && make install clean

Dependencies

Required by 1