Compares two text
diff reports lines that differ between
file2. Output consists of lines of context
from each file, with
file1 text flagged by
< symbol, and
file2 text by a
symbol. Context lines are preceded by the
d) that convert
file2. If one of the files is
-, standard input is read. If one of the files is
diff locates the filename in that
directory corresponding to the other argument (e.g.,
junk is the same as
junk). If both arguments are directories,
diff reports lines that differ between all pairs
of files having equivalent names (e.g.,
newdir/program); in addition,
diff lists filenames unique to one directory, as
well as subdirectories common to both. See also
can’t be combined with one another (they are
Treat all files as text files. Useful for checking to see if binary files are identical.
Ignore repeating blanks and end-of-line blanks; treat successive blanks as one.
Ignore blank lines in files.
diff: print three lines surrounding each
lines surrounding each changed line. The default context is three
format to output a line group containing differing lines from both ...