bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep problem/ question


From: Scott Cason
Subject: grep problem/ question
Date: Mon, 2 Apr 2007 22:37:32 -0500

i am running grep:

grep (GNU grep) 2.5.1

Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


on a windows xp/sp2 platform.

i am trying to run the following:

grep -r --include='*.c*' 'dat' c:\tc\cdev



and i get nothing returned.  basically, i want to initiate a recursive
directory search targeting only check the *.c and *.cpp files for the
specified string.  is there NOT a straight-forward way to do this with this
tool?

if i run "grep -r 'dat' c:\tc\cdev"  i get output along with output from
files i do not want.  i have also tried other variations of the flags.


thanks,  scott


reply via email to

[Prev in Thread] Current Thread [Next in Thread]