Guide d’outil diff externe
GNU Diffutils
Classic command-line utilities including diff, diff3, sdiff, and cmp for comparing files and directories in scripts and shells.
Catégorie
Command line
Licence
GNU GPL
Plateformes
Linux, macOS, Unix, Windows via ports
Idéal pour
Automation, CI scripts, Unix-style workflows, patch generation, and environments where a stable command-line diff is required.
Points forts
- Ubiquitous and scriptable
- Stable output formats
- Works well in automation
Limites
- Text-first command-line UX
- No visual merge UI
- Binary/media comparison is limited
Fonctions clés
diff, diff3, sdiff, cmp
Unified and context diff formats
Directory comparison
Patch-friendly output
Notes d’installation
Linux: usually preinstalled or available as diffutils.macOS: system diff is available; GNU version via brew install diffutils.