cmp — Inferno 1.1ed
cmp
Synopsis
cmp [-Ll] file1 file2 [offset1] [offset2]
Description
The cmp command byte-wise compares the contents of files file1 and file2 starting at offsets offset1 and offset2 (default 0).If there are no differences, the command produces no output. If a difference is detected, a message is generated to standard output reporting the location of the first different character in the format shown below:
file1 file2 differ: char xxxwhere xxx is in decimal format.
Options
Note
Though the output line speaks of char differences, the comparison is, in fact, byte-oriented.
infernosupport@lucent.com Copyright © 1996,Lucent Technologies, Inc. All rights reserved.