[Top][All Lists]

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

grep problem?

From: Philip . Joslin
Subject: grep problem?
Date: Thu, 4 May 2006 12:28:59 -0700

I am finding that if my directory and/or subdirectory names have spaces in 
them (I am running cynwin under Windows XP), then the following form of 
grep does not work:

grep -r --include=*.h sometext .

(there is a dot or period at the end there)

If I am in the directory where I know the file/text is and enter the 
above, it still does not find it. However if I enter:

grep sometext *.h

it does find it.

reply via email to

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