Correct usage string. Program name converted to bold in man page.

This commit is contained in:
Philippe Charnier 1997-06-26 11:22:12 +00:00
parent b672570754
commit f771f05273
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26957
2 changed files with 7 additions and 5 deletions

View File

@ -33,7 +33,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)cmp.1 8.1 (Berkeley) 6/6/93 .\" @(#)cmp.1 8.1 (Berkeley) 6/6/93
.\" $Id$ .\" $Id: cmp.1,v 1.4 1997/02/22 19:54:29 peter Exp $
.\" .\"
.Dd June 6, 1993 .Dd June 6, 1993
.Dt CMP 1 .Dt CMP 1
@ -47,10 +47,12 @@
.Ar file1 file2 .Ar file1 file2
.Op Ar skip1 Op Ar skip2 .Op Ar skip1 Op Ar skip2
.Sh DESCRIPTION .Sh DESCRIPTION
The cmp utility compares two files of any type and writes the results The
.Nm cmp
utility compares two files of any type and writes the results
to the standard output. to the standard output.
By default, By default,
.Nm .Nm cmp
is silent if the files are the same; if they differ, the byte is silent if the files are the same; if they differ, the byte
and line number at which the first difference occurred is reported. and line number at which the first difference occurred is reported.
.Pp .Pp
@ -108,6 +110,6 @@ utility is expected to be
compatible. compatible.
.Sh HISTORY .Sh HISTORY
A A
.Nm .Nm cmp
command appeared in command appeared in
.At v1 . .At v1 .

View File

@ -157,6 +157,6 @@ usage()
{ {
(void)fprintf(stderr, (void)fprintf(stderr,
"usage: cmp [-l | s] file1 file2 [skip1 [skip2]]\n"); "usage: cmp [-l | -s] file1 file2 [skip1 [skip2]]\n");
exit(ERR_EXIT); exit(ERR_EXIT);
} }