Diff

Standard UNIX utility for file comparison

Nº Q300901 ★★

Uncommon · Literature

Diff

Standard UNIX utility for file comparison

diff is a shell command that compares the content of files and reports differences. The term diff is also used to identify the output of the command and is used as a verb for running the command. To diff files, one runs diff to create a diff.

Last price

—

Floor price

—

7-day median

—

30-day sales

0

30-day range

—

In circulation

0

Price history

Show table
Datemedian LowHighsales

Sales history

Last sale
—
30-day average
—
30-day low
—
30-day high
—
Sales 7d
0
Sales 30d
0

No sales yet.

Anonymous sales: no buyer or seller shown. Figures count player-to-player sales only.

From Wikipedia

diff is a shell command that compares the content of files and reports differences. The term diff is also used to identify the output of the command and is used as a verb for running the command. To diff files, one runs diff to create a diff. Typically, the command is used to compare text files, but it does support comparing binary files. If one of the input files contains non-textual data, the command defaults to brief-mode, reporting only a summary indication of whether the files differ. With the --text option, it always reports line-based differences; however, the output may be difficult to understand, as binary data is generally not structured in lines like text. Although the command is primarily used ad hoc to analyze changes between two files, a special use is for creating a patch file for use with the patch command – which was specifically designed to use a diff output report as a patch file. POSIX standardized the diff and patch commands including their shared file format.

Text: Wikipédia, CC BY-SA 4.0. · Image: Self (Public domain) ·

Related cards

Confirmation