treats all files as text and compares them line-by-line, even if they do not seem to be text.
ignores changes that just insert or delete blank lines.
reports only whether the files differ, not the details of the differences.
is equivalent to -C as specified in the SUS.
changes the algorithm to perhaps find a smaller set of changes; this makes diff slower (sometimes much slower).
makes merged if-then-else format output conditional on the preprocessor macro name.
is equivalent to -e as specified in the SUS.
when comparing directories, ignores files and subdirectories whose basenames match pattern.
when comparing directories, ignores files and subdirectories whose basenames match any pattern contained in file.
expands tabs to spaces in the output to preserve the alignment of tabs in the input files.
in context and unified format, shows some of the last preceding line that matches regexp for each hunk of differences.
makes output that looks vaguely like an ed script, but has changes in the order they appear in the file.
uses heuristics to speed handling of large files that have numerous scattered small changes.
does not discard the last lines lines of the common prefix and the first lines lines of the common suffix.
ignores changes in case; considers upper and lower case letters equivalent.
ignores changes that just insert or delete lines that match regexp.
makes merged if-then-else format output conditional on the preprocessor macro name.
ignores white space when comparing lines.
ignores changes in case; considers upper and lower case to be the same.
ignores changes that just insert or delete lines that match regexp.
ignores changes in amount of white space.
outputs a tab rather than a space before the text of a line in normal or context format. This causes the alignment of tabs in the line to look normal.
passes the output through pr to paginate it.
ignores changes in case; considers upper and lower case to be the same.