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
| System | Port | Version |
|---|---|---|
| DragonFly | textproc/wdiff | 1.2.2_3 |
| FreeBSD | textproc/wdiff | 1.2.3 |
| OpenBSD | textproc/wdiff | 1.2.2p4 |
| NetBSD | textproc/wdiff | 1.2.2nb1 |
Install
Binary package:
pkg install wdiff
From DPorts:
cd /usr/dports/textproc/wdiff && make install clean