Jump to content

Diff: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
Although many newer diff tools have modified the output file format for more flexibility, the original diff output file format has become something of a standard since a number of utilities and systems can open up diff files for further processing or visualisation.
Although many newer diff tools have modified the output file format for more flexibility, the original diff output file format has become something of a standard since a number of utilities and systems can open up diff files for further processing or visualisation.


==Diff tools==
==Implementations==
;OS/2 diff tools
* Araxis PMDiff - last version 4.0c freeware
* [[GNU diffutils]] - Open source
* [[GNU diffutils]] - Open source


;Java diff tools
;OS/2 PM
* Araxis PMDiff - last version 4.0c freeware
;Java GUI
* [[Guiffy]] - Commercial
* [[Guiffy]] - Commercial
 
;Text editor support
;Text editors with diff file support
* [[Elvis]] - diff syntax support included by default
* [[Elvis]] - diff syntax support included by default
* [[FTE]] - Has support for syntax highlighting, code folding and syntax-aware autoindent.
* [[FTE]] - Has support for syntax highlighting, code folding and syntax-aware autoindent
* [[Vim]]


[[Category:Generic Unix Tools]][[Category:File formats]]
[[Category:Generic Unix Tools]][[Category:File comparison]]

Latest revision as of 16:53, 2 November 2020

Diff is a class of programming utilities that compares two or more files for changes or differences between them and frequently offer methods to merge one or more files together as well. This tool is both available as a separate utility but is frequently also embedded into IDEs and text editors.

File output

Edit script
can be generated by modern implementations with the -e option
Context format
introduced with 2.8 BSD (July 1981)
Unified format
introduced by unidiff (Aug 1990), GNU diff 1.15 (Jan 1991)

Although many newer diff tools have modified the output file format for more flexibility, the original diff output file format has become something of a standard since a number of utilities and systems can open up diff files for further processing or visualisation.

Implementations

OS/2 PM
  • Araxis PMDiff - last version 4.0c freeware
Java GUI
Text editor support
  • Elvis - diff syntax support included by default
  • FTE - Has support for syntax highlighting, code folding and syntax-aware autoindent
  • Vim