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

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

Re: grep -r problem


From: Eli Zaretskii
Subject: Re: grep -r problem
Date: Sat, 10 May 2003 13:14:01 +0300

> From: "KOYLE,RUSS (HP-Boise,ex1)" <address@hidden>
> Date: Fri, 9 May 2003 12:59:29 -0700
> 
> I just installed the latest version of grep on my HPUX box. I can't get the
> -r option to recurse. When I use
> 
>  grep -l -r void *.c
> which results in the following message
> 
> grep: *.c: No such file or directory

That's because you misunderstand the meaning of -r.  It does _not_
search *.c files in all subdirectories; instead, it recursively
searches in all subdirectories whose names match *.c.




reply via email to

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