summaryrefslogtreecommitdiff
path: root/usr.bin/grep/grep.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/grep/grep.1')
-rw-r--r--usr.bin/grep/grep.110
1 files changed, 7 insertions, 3 deletions
diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1
index bd619f834c7..1e7108942cb 100644
--- a/usr.bin/grep/grep.1
+++ b/usr.bin/grep/grep.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: grep.1,v 1.9 2003/06/22 22:42:00 millert Exp $
+.\" $OpenBSD: grep.1,v 1.10 2003/06/23 00:55:09 tedu Exp $
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -37,7 +37,7 @@
.Sh SYNOPSIS
.Nm grep
.Op Fl AB Ar num
-.Op Fl CEFGHLPRSVZabchilnoqsvwx
+.Op Fl CEFGHILPRSUVZabchilnoqsvwx
.Op Fl e Ar pattern
.Op Fl f Ar file
.Op Ar
@@ -122,6 +122,8 @@ If
.Fl R
is specified, follow symbolic links only if they were explictly listed
on the command line.
+.It Fl I
+Ignore binary files.
.It Fl L
Only the names of files not containing selected lines are written to
standard output.
@@ -139,6 +141,8 @@ Recursively search subdirectories listed.
If
.Fl R
is specified, all symbolic links are followed.
+.It Fl U
+Search binary files, but do not attempt to print them.
.It Fl V
Display version information.
.It Fl Z
@@ -147,7 +151,7 @@ Force
to behave as
.Nm zgrep .
.It Fl a
-Do not search in binary files.
+Treat all files as text.
.It Fl b
The block number on the disk in which a matched pattern is located is
displayed in front of the respective matched line.