Added exit status; updated copyright
This commit is contained in:
parent
ef74a0076f
commit
c09423b0a6
1 changed files with 17 additions and 1 deletions
18
cmp.1
18
cmp.1
|
@ -23,10 +23,26 @@ Outputs the byte number and differing byte for each difference
|
||||||
Suppresses all output, even when the files differ. If the two files
|
Suppresses all output, even when the files differ. If the two files
|
||||||
are of differing lengths, it also suppresses that notice. A
|
are of differing lengths, it also suppresses that notice. A
|
||||||
difference in the two files is indicated through exit status only.
|
difference in the two files is indicated through exit status only.
|
||||||
|
.SH EXIT STATUS
|
||||||
|
.TP
|
||||||
|
.BR 0
|
||||||
|
The files are identical.
|
||||||
|
.TP
|
||||||
|
.BR 1
|
||||||
|
The files are different or are of different lengths.
|
||||||
|
.TP
|
||||||
|
.BR 2
|
||||||
|
Tried to use stdin as both files.
|
||||||
|
.TP
|
||||||
|
.BR 3
|
||||||
|
Not enough file operands.
|
||||||
|
.TP
|
||||||
|
.BR 4
|
||||||
|
Could not open one or both files.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Written by Kat.
|
Written by Kat.
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
Copyright (C) 2019 Katlynn Richey
|
Copyright (C) 2020 The FENIX Project
|
||||||
.PP
|
.PP
|
||||||
This software is free software. Feel free to modify it and/or pass
|
This software is free software. Feel free to modify it and/or pass
|
||||||
it around.
|
it around.
|
||||||
|
|
Loading…
Reference in a new issue