Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cmp(1) — sys5 — Apollo Domain/IX SR9.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

comm(1)

diff(1)



CMP(1)                   DOMAIN/IX SYS5                    CMP(1)



NAME
     cmp - compare two files

USAGE
     cmp [ -l ] [ -s ] file2

DESCRIPTION
     Cmp makes comparisons between files and indicates the byte
     and line number where differences occur.  If you use a dash
     (-) in place of file1, cmp uses the standard input.  Under
     the default options, cmp makes no comment if the files are
     the same.  If one file is an initial subsequence of the
     other, that fact is noted.

OPTIONS
     -l             Print the byte number (decimal) and the
                    differing bytes (octal) for each difference.

     -s                  Print nothing for differing files;
                         return codes only.

DIAGNOSTICS
     Returns exit code 0 for identical files, 1 for different
     files, and 2 for an inaccessible or missing argument.

RELATED INFORMATION
     comm(1), diff(1).


























Printed 12/4/86                                             CMP-1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026