Subject: CVS commit: othersrc/usr.bin/grep
To: None <>
From: Chris Pinnock <>
List: source-changes
Date: 03/22/2003 13:00:52
Module Name:	othersrc
Committed By:	cjep
Date:		Sat Mar 22 11:00:51 UTC 2003

Modified Files:
	othersrc/usr.bin/grep: binary.c file.c util.c

Log Message:
Make -a match GNU grep (before, it seemed to do the opposite to what was
intended). If a binary file matches and we don't have -a, print a string
to say that the file matches, following what GNU grep does if other
flags are present (e.g. if we have -c, don't print "Binary file matches"

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 othersrc/usr.bin/grep/binary.c
cvs rdiff -r1.3 -r1.4 othersrc/usr.bin/grep/file.c \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.