Guía de herramienta diff externa
GNU Diffutils
Classic command-line utilities including diff, diff3, sdiff, and cmp for comparing files and directories in scripts and shells.
Categoría
Command line
Licencia
GNU GPL
Plataformas
Linux, macOS, Unix, Windows via ports
Ideal para
Automation, CI scripts, Unix-style workflows, patch generation, and environments where a stable command-line diff is required.
Fortalezas
- Ubiquitous and scriptable
- Stable output formats
- Works well in automation
Limitaciones
- Text-first command-line UX
- No visual merge UI
- Binary/media comparison is limited
Funciones clave
diff, diff3, sdiff, cmp
Unified and context diff formats
Directory comparison
Patch-friendly output
Notas de instalación
Linux: usually preinstalled or available as diffutils.macOS: system diff is available; GNU version via brew install diffutils.