BSD Ports

textproc/sdif 2.8.20170401 DragonFly

Side-by-side diff viewer for ANSI terminal

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GREPLE
Categories
textproc
Package size
12.9 KiB, 38.3 KiB installed

Description

sdif is inspired by System V sdiff(1) command. The basic feature of sdif is making a side-by-side listing of two different files. All contents of two files are listed on left and right sides. Center column is used to indicate how different those lines. No mark means no difference. Added, deleted and modified lines are marked with `-' and `+' character.

It also reads and formats the output from diff command from standard input. Besides normal diff output, context diff -c and unified diff -u output will be handled properly. Combined diff format is also supported, but currently limited upto three files.

Install

Binary package:

pkg install sdif

From DPorts:

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

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Deprecated upstream, repo archived Nov 21, 2018.

It is scheduled to be removed on or after 2025-04-30.