cmp
E299205
cmp is a GNU Diffutils command-line utility that compares two files byte by byte and reports the first difference it finds.
All labels observed (1)
| Label | Occurrences |
|---|---|
| cmp canonical | 1 |
Statements (44)
| Predicate | Object |
|---|---|
| instanceOf |
GNU Diffutils program
ⓘ
command-line utility ⓘ file comparison tool ⓘ |
| canCompare |
binary files
ⓘ
text files ⓘ |
| category | Unix file comparison command ⓘ |
| comparisonLevel | byte-level ⓘ |
| defaultBehavior | produce no output if files are identical ⓘ |
| developer | Free Software Foundation ⓘ |
| differsFrom | diff by stopping at first difference ⓘ |
| distribution | GNU core utilities collections on many systems ⓘ |
| exitStatus |
0 if files are identical
ⓘ
1 if files differ ⓘ 2 if there is an error ⓘ |
| includedIn | many Unix and Linux distributions by default ⓘ |
| inputType |
regular files
ⓘ
standard input ⓘ |
| manualPage | cmp(1) ⓘ |
| operatingSystem |
BSD
ⓘ
GNU/Linux ⓘ Unix-like systems ⓘ macOS ⓘ |
| outputDetail |
byte offset of first difference
ⓘ
line number of first difference for text files ⓘ |
| partOf | GNU Diffutils ⓘ |
| primaryFunction | compare two files byte by byte ⓘ |
| programmingLanguage | C ⓘ |
| reports | first difference between two files ⓘ |
| similarTo | diff ⓘ |
| softwareLicense | GNU General Public License ⓘ |
| supports | POSIX-style command-line options ⓘ |
| supportsOption |
--bytes
ⓘ
--ignore-initial ⓘ --print-bytes ⓘ --quiet ⓘ --silent ⓘ --verbose ⓘ -b ⓘ -i ⓘ -l ⓘ -n ⓘ -s ⓘ |
| typicalUsage | cmp [OPTION]... FILE1 FILE2 ⓘ |
| userInterface | command-line interface ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.