mkdiff.com

Гид по внешнему diff-инструменту

GNU Diffutils

Classic command-line utilities including diff, diff3, sdiff, and cmp for comparing files and directories in scripts and shells.

Категория
Command line
Лицензия
GNU GPL
Платформы
Linux, macOS, Unix, Windows via ports

Лучше всего для

Automation, CI scripts, Unix-style workflows, patch generation, and environments where a stable command-line diff is required.

Сильные стороны

  • Ubiquitous and scriptable
  • Stable output formats
  • Works well in automation

Ограничения

  • Text-first command-line UX
  • No visual merge UI
  • Binary/media comparison is limited

Ключевые функции

diff, diff3, sdiff, cmp
Unified and context diff formats
Directory comparison
Patch-friendly output

Установка

Linux: usually preinstalled or available as diffutils.macOS: system diff is available; GNU version via brew install diffutils.