BSD Ports

textproc/wdiff 1.2.2_3 DragonFly

Display word differences between text files

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3+
Categories
textproc
Package size
99.5 KiB, 530.4 KiB installed

Description

<< wdiff >>

From man page of wdiff: wdiff compares two files, finding which words have been deleted or added to old_file to get new_file. A word is anything between whitespace. The output is collected and used to produce an annotated copy of new_file on standard output. Suitable annotations produce a nice display of word differences between the original files.

Example: text-a I like FreeBSD. text-b I love FreeBSD.

%25 wdiff -n text-a text-b
I \[-like-\] {+love+} FreeBSD.

In the other systems

SystemPortVersion
DragonFlytextproc/wdiff1.2.2_3
FreeBSDtextproc/wdiff1.2.3
OpenBSDtextproc/wdiff1.2.2p4
NetBSDtextproc/wdiff1.2.2nb1

Install

Binary package:

pkg install wdiff

From DPorts:

cd /usr/dports/textproc/wdiff && make install clean

Dependencies

Run dependencies 2
Required by 1