diff options
-rw-r--r-- | usr.bin/diff/diff.1 | 13 | ||||
-rw-r--r-- | usr.bin/grep/grep.1 | 10 |
2 files changed, 20 insertions, 3 deletions
diff --git a/usr.bin/diff/diff.1 b/usr.bin/diff/diff.1 index b14ca7d5519..a694f291049 100644 --- a/usr.bin/diff/diff.1 +++ b/usr.bin/diff/diff.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: diff.1,v 1.27 2004/12/09 18:56:10 millert Exp $ +.\" $OpenBSD: diff.1,v 1.28 2005/01/06 00:28:53 jmc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -186,7 +186,16 @@ Comparison options: .Bl -tag -width Ds .It Fl a Treat all files as -.Tn ASCII . +.Tn ASCII +text. +Normally +.Nm +will simply print +.Dq Binary files ... differ +if files contain binary characters. +Use of this option forces +.Nm +to produce a diff. .It Fl b Causes trailing blanks (spaces and tabs) to be ignored, and other strings of blanks to compare equal. 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 |