severity 297154 wishlist merge 297154 414168 thanks On Fri, Mar 09, 2007 at 06:01:52PM +0100, Magnus Holmgren wrote: > Package: grep > Severity: wishlist > Tags: patch > > I think it would be a good idea to make rgrep default to searching the > current > directory instead of stdin. I mean, it doesn't really make sense to > recursively grep stdin. > > This change shouldn't reasonably break any existing scripts; if there are any > scripts in the field calling rgrep (or even grep -r), I'd expect them to > carefully specify a path to search. > > Since knowing whether a file was specified requires scanning the whole > command > line, I guess this is better implemented in the grep binary. > > The attached patch is however Debian-specific, due to 55-bigfile.patch. Great, thanks for the patch. I think this is even better than my suggestion (to warn when grep -r gets no filenames).
Thanks Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

