cmp man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

CMP(1)									CMP(1)

NAME
       cmp - compare two files

SYNOPSIS
       cmp [ -lsL ] file1 file2 [ offset1 [ offset2 ] ]

DESCRIPTION
       The  two files are compared.  A diagnostic results if the contents dif‐
       fer, otherwise there is no output.  By default,	cmp  prints  the  byte
       number of the first differing byte.

       The options are:

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

       -s     Print nothing for differing files, but set the exit status.

       -L     Print the line number of the first differing byte.

       If offsets are given, comparison starts at the designated byte position
       of the corresponding file.  Offsets that begin with 0x are hexadecimal;
       with 0, octal; with anything else, decimal.

SOURCE
       /appl/cmd/cmp.b

SEE ALSO
       diff(1)

									CMP(1)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net