diffFiles ?options? file1 file2
Perform a diff between two regular files. The possible options are:
-bIgnore changes in the amount of white space.
-BIgnore changes whose lines are all blank.
-cReport only diff codes.
-EIgnore changes due to tab expansion.
-iIgnore case differences in file contents.
-lSpecify kind of line endings for the files.
-qOutput only whether files differ.
-tTreat all files as text files.
-wIgnore all white space.
--end of options
The value of the -l option is a list {e1 ?e2?} of one or two integers that specify the kind of line endings used by the files. The possible values are indicated in the next table:
NameValueDescription
Undefined0let Alpha guess
Mac1CR
Unix2LF
Windows3CRLF
If the second value e2 is not specified, it is equal to e1. If the -l option is not specified at all, Alpha attempts to guess.
If the command detects that the files are binary, it raises an error unless option -q or option -t is specified: with -q, the command executes a binary (byte by byte) comparison and tells whether the files differ or not. The -t option forces a textual comparison.
The return value of the command can take three forms: