Subject: CVS commit: othersrc/usr.bin/grep
To: None <source-changes@netbsd.org>
From: Chris Pinnock <cjep@netbsd.org>
List: source-changes
Date: 03/22/2003 12:58:54
Module Name:	othersrc
Committed By:	cjep
Date:		Sat Mar 22 10:58:54 UTC 2003

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

Log Message:
Implement -d option for directory handling. The default is to grep a
directory. The option can be used to recurse down a directory tree (i.e.
-r) or skip directories.

Get rid of rflag variable.

When recursing, do not treat directories as files (by ignoring
directories in pre-order).


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 othersrc/usr.bin/grep/grep.c
cvs rdiff -r1.2 -r1.3 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.