summaryrefslogtreecommitdiff
path: root/usr/src/man/man1
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man1')
-rw-r--r--usr/src/man/man1/grep.123
1 files changed, 12 insertions, 11 deletions
diff --git a/usr/src/man/man1/grep.1 b/usr/src/man/man1/grep.1
index 879ba61485..e93f3a19ca 100644
--- a/usr/src/man/man1/grep.1
+++ b/usr/src/man/man1/grep.1
@@ -1,4 +1,5 @@
'\" te
+.\" Copyright 2012 Nexenta Systems, Inc. All rights reserved.
.\" Copyright 1989 AT&T
.\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
.\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
@@ -15,7 +16,7 @@ grep \- search a file for a pattern
.SH SYNOPSIS
.LP
.nf
-\fB/usr/bin/grep\fR [\fB-bchilnsvw\fR] \fIlimited-regular-expression\fR
+\fB/usr/bin/grep\fR [\fB-c\fR | \fB-l\fR | \fB-q\fR] [\fB-bhinsvw\fR] \fIlimited-regular-expression\fR
[\fIfilename\fR]...
.fi
@@ -134,6 +135,16 @@ Precedes each line by its line number in the file (first line is 1).
.sp
.ne 2
.na
+\fB\fB-q\fR\fR
+.ad
+.RS 6n
+Quiet. Does not write anything to the standard output, regardless of matching
+lines. Exits with zero status if an input line is selected.
+.RE
+
+.sp
+.ne 2
+.na
\fB\fB-s\fR\fR
.ad
.RS 6n
@@ -246,16 +257,6 @@ line. See \fBfgrep\fR(1) for more information.
.sp
.ne 2
.na
-\fB\fB-q\fR\fR
-.ad
-.RS 19n
-Quiet. Does not write anything to the standard output, regardless of matching
-lines. Exits with zero status if an input line is selected.
-.RE
-
-.sp
-.ne 2
-.na
\fB\fB-x\fR\fR
.ad
.RS 19n