Annotation of coherent/a/usr/man/MULTI/cmp, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: cmp                          Command                          cmp
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Compare bytes of two files
                      9: 
                     10: ccmmpp [-llss] _f_i_l_e_1 _f_i_l_e_2 [_s_k_i_p_1 _s_k_i_p_2]
                     11: 
                     12: cmp is  a command  that is  included with COHERENT.   It compares
                     13: file1 and file2 character by character for equality.  If file1 is
                     14: `-', cmp reads the standard input.
                     15: 
                     16: Normally, cmp notes the  first difference and prints the line and
                     17: character position, relative  to any skips.  If it encounters EOF
                     18: on one file but not on  the other, it prints the message ``EOF on
                     19: file_n''.  The  following are  the options  that can be  used with
                     20: cmp:
                     21: 
                     22: -ll Note  each differing byte by printing  the positions and octal
                     23:    values of the bytes of each file.
                     24: 
                     25: -ss Print nothing, but return the exit status.
                     26: 
                     27: If the  skip counts are  present, cmp reads skip1  bytes on file1
                     28: and  skip2 bytes  on file2  before it begins  to compare  the two
                     29: files.
                     30: 
                     31: ***** See Also *****
                     32: 
                     33: commands, diff, sh
                     34: 
                     35: ***** Diagnostics *****
                     36: 
                     37: The exit status is  zero for identical files, one for non-identi-
                     38: cal files,  and two for errors, e.g., bad  command usage or inac-
                     39: cessible file.
                     40: 
                     41: 
                     42: 
                     43: 
                     44: 
                     45: 
                     46: 
                     47: 
                     48: 
                     49: 
                     50: 
                     51: 
                     52: 
                     53: 
                     54: 
                     55: 
                     56: 
                     57: 
                     58: 
                     59: 
                     60: 
                     61: 
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.