2 diff Output Formats diff has several mutually exclusive options for output format. The following sections describe each format, illustrating how diff reports the differences between two sample input files. Previous 1.8 Comparing Files While They Are Changing Next 2.1 Two Sample Input Files