bug-gnu-utils
[Top][All Lists]
Advanced

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

grep FILE spec


From: Edward Dunkle
Subject: grep FILE spec
Date: Wed, 27 Feb 2002 14:53:15 -0600

I don't see how to specify the FILE parameter to grep.
 grep -n -r -e ProductType * looks through every file

 grep -n -r -e ProductType *.java 
gives grep: *.java: No such file or directorywhen the current directory
holds no .java file, but they DO exist farther down the file structure

So how do you get it to look through all directories (recurse) but only
match on certain files (*.java)?


Ed



reply via email to

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