EnglishFrenchSpanish

Ad


OnWorks favicon

cmpplan9 - Online in the Cloud

Run cmpplan9 in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cmpplan9 that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cmp - compare two files

SYNOPSIS


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

DESCRIPTION


The two files are compared. A diagnostic results if the contents differ, otherwise there
is no output.

The options are:

l Print the byte number (decimal) and the differing bytes (hexadecimal) 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


/src/cmd/cmp.c

Use cmpplan9 online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad