Subject: CVS commit: othersrc/usr.bin/grep
To: None <source-changes@netbsd.org>
From: Chris Pinnock <cjep@netbsd.org>
List: source-changes
Date: 04/06/2003 14:26:20
Module Name: othersrc
Committed By: cjep
Date: Sun Apr 6 11:26:19 UTC 2003
Modified Files:
othersrc/usr.bin/grep: grep.c grep.h util.c
Log Message:
1. Make the default behaviour to warn about directory cycles. e.g.
where test/foo/foo -> test/foo:
./grep -rl chris test
test/foo/chris
grep: warning: test/foo/foo: recursive directory loop
2. Replace code dealing with -P, -S and the former -H option with
code to handle a long option called --links. Comment this out (it
still needs some work). Temporarily remove -P, -S.
To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 othersrc/usr.bin/grep/grep.c
cvs rdiff -r1.11 -r1.12 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.