The Fidelix Linux Distribution

Simple, Stable, and Secure

DIFF(1) User Commands DIFF(1)

diff - manual page for diff 1.31.1

diff [-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2

BusyBox v1.31.1 (2020-04-30 13:38:01 EDT) multi-call binary.

Compare files line by line and output the differences between them. This implementation supports unified diffs only.

-a
Treat all files as text
-b
Ignore changes in the amount of whitespace
-B
Ignore changes whose lines are all blank
-d
Try hard to find a smaller set of changes
-i
Ignore case differences
-L
Use LABEL instead of the filename in the unified header
-N
Treat absent files as empty
-q
Output only whether files differ
-r
Recurse
-S
Start with FILE when comparing directories
-T
Make tabs line up by prefixing a tab when necessary
-s
Report when two files are the same
-t
Expand tabs to spaces in output
-U
Output LINES lines of context
-w
Ignore all whitespace
April 2020 Fidelix 1.0