develooper Front page | perl.beginners | Postings from March 2003

RE: Find Text in files

Thread Previous | Thread Next
From:
Bob Showalter
Date:
March 26, 2003 07:18
Subject:
RE: Find Text in files
Message ID:
2E4528861499D41199D200A0C9B15BC001D7E7EC@FRISTX
Aim wrote:
> Hi,
> 
> Thnaks for the reply. I was thinking its something to do with recurse
> as in ls -ltr, but when I do:
> grep -r "^[A-Z]" *    I get: "Illegal option -- r"?
> 
> Any idea why?

-r is a (handy) GNU extension to grep. "Standard" grep doesn't have it.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About