外部 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.