Implement grep -s

This commit is contained in:
sin
2014-11-20 14:14:26 +00:00
parent 5197affac5
commit 728f36aa77
2 changed files with 16 additions and 8 deletions

5
grep.1
View File

@@ -3,7 +3,7 @@
grep \- search files for a pattern
.SH SYNOPSIS
.B grep
.RB [ \-EHchilnqv ]
.RB [ \-EHchilnqsv ]
.RB [ \-e
.I pattern ]
.I pattern
@@ -53,6 +53,9 @@ prefixes each matching line with its line number in the input.
.B \-q
prints nothing, only returns status.
.TP
.B \-s
Suppress the error messages ordinarily written for nonexistent or unreadable files.
.TP
.B \-v
selects lines which do
.B not