Subject: CVS commit: othersrc/usr.bin/grep
To: None <source-changes@netbsd.org>
From: Chris Pinnock <cjep@netbsd.org>
List: source-changes
Date: 03/29/2003 17:39:46
Module Name:	othersrc
Committed By:	cjep
Date:		Sat Mar 29 15:39:46 UTC 2003

Modified Files:
	othersrc/usr.bin/grep: grep.c grep.h util.c

Log Message:
Implement --devices, -D. If "read" is given on the command line, devices,
FIFOs and sockets are read as if they are ordinary files (default). If
"skip" is given, then these files are skipped.

Move directory checking to procfile to avoid stating twice to check file
types.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 othersrc/usr.bin/grep/grep.c
cvs rdiff -r1.8 -r1.9 othersrc/usr.bin/grep/grep.h \
    othersrc/usr.bin/grep/util.c

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