summaryrefslogtreecommitdiff
path: root/usr.bin/grep
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-01-06 00:28:54 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-01-06 00:28:54 +0000
commit8481d1fea65dc03ced81d8c82b53a30175f4b9f2 (patch)
tree7199cd79269950a80382bd5057e022ec7f7f49d5 /usr.bin/grep
parentd08cfb0daf805388e75494a8a07535e574d694bb (diff)
clarify what -a does;
prod and ok deraadt@
Diffstat (limited to 'usr.bin/grep')
-rw-r--r--usr.bin/grep/grep.110
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1
index 0501945dbc8..a7d64d6722c 100644
--- a/usr.bin/grep/grep.1
+++ b/usr.bin/grep/grep.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: grep.1,v 1.29 2004/10/04 21:34:17 jmc Exp $
+.\" $OpenBSD: grep.1,v 1.30 2005/01/06 00:28:53 jmc Exp $
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -110,6 +110,14 @@ and
options.
.It Fl a
Treat all files as ASCII text.
+Normally
+.Nm
+will simply print
+.Dq Binary file ... matches
+if files contain binary characters.
+Use of this option forces
+.Nm
+to output lines matching the specified pattern.
.It Fl B Ar num
Print
.Ar num