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

7
grep.1
View File

@@ -1,10 +1,11 @@
.Dd November 21, 2014
.Dt GREP 1 sbase\-VERSION
.Os
.Sh NAME
.Nm grep
.Nd search files for patterns
.Sh SYNOPSIS
.Nm grep
.Nm
.Op Fl EFHchilnqsvx
.Op Fl e Ar pattern
.Op Fl f Ar file
@@ -56,8 +57,8 @@ Print nothing, only return status.
Suppress the error messages ordinarily written for nonexistent or unreadable files.
.It Fl v
Select lines which do
.B not
Match the pattern.
.Sy not
match the pattern.
.It Fl w
The expression is searched for as a word (as if surrounded by '\<' and '\>').
.It Fl x