add some mandoc pages and fix some warnings

- add .Os, it is mandatory.
- don't redeclare .Nm when it's not needed.
- fix some warnings (checked with mandoc -Tlint).
- remove some leftover old stuff.
This commit is contained in:
Hiltjo Posthuma
2015-01-30 21:17:58 +01:00
parent 8c177d8d83
commit 57a19e3b86
52 changed files with 231 additions and 183 deletions

3
cmp.1
View File

@@ -5,7 +5,7 @@
.Nm cmp
.Nd compare two files
.Sh SYNOPSIS
.Nm cmp
.Nm
.Op Fl l | Fl s
.Ar file1 file2
.Sh DESCRIPTION
@@ -14,7 +14,6 @@ compares two files byte by byte. If the files differ,
.Nm
prints the byte and
line number at which the difference occurred.
.Pp
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl l