Re: PERL with grep

2005-01-21 Thread Dave Gray
I would like the script to do the following: 1) List all *.java files containing following patterns: double, parseDouble Sounds to me like you don't need to resort to perl yet with this problem... egrep -rHis '\bdouble\b|\bparsedouble\b' /path/to/dir/ -- To unsubscribe, e-mail: [EMAIL

PERL with grep

2005-01-19 Thread Danny Fang
Hi I'm a newbie in PERL and wish to seek some help with regards to pattern matching PERL and grep. I would like the script to do the following: 1) List all *.java files containing following patterns: double, parseDouble 2) Within such files, list all variables and declared as type double

RE: PERL with grep

2005-01-19 Thread Chance Ervin
:[EMAIL PROTECTED] Sent: Wed 1/19/2005 8:53 AM To: beginners@perl.org Subject: PERL with grep Hi I'm a newbie in PERL and wish to seek some help with regards to pattern matching PERL and grep. I would like the script to do the following: 1) List all *.java files containing following patterns

RE: PERL with grep

2005-01-19 Thread Bob Showalter
Danny Fang wrote: Hi I'm a newbie in PERL and wish to seek some help with regards to pattern matching PERL and grep. Hi, and welcome. First, perl is the interpreter for the Perl language. PERL is considered gauche. :~) I would like the script to do the following: [ snip specification