>> If I had a complex ANDed expression, I'd just hard code it in the
>> subroutine.
>>
>> For something simple, such as the word TABLE followed somewhere by the
word
>> ALIGN, you could use:
>>
>> my $stringToFind = 'TABLE.+ALIGN';
>>
>>
>> Regards,
>>
>> Rick
>Sure, if you wanted to match VEGE
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Richard A. Evans
> > Sent: Thursday, June 14, 2001 6:49 PM
> > To: Sidwell, Josh; '[EMAIL PROTECTED]'
> > Subject: RE: Find && G
If you have
received this communication in error, please immediately notify Lockheed
Martin IMS at [EMAIL PROTECTED] and destroy all copies of this message
along with any attachments.
::-Original Message-
::From: $Bill Luebkert [mailto:[EMAIL PROTECTED]]
::Sent: Friday, June 15, 2001 9:5
Walter Torres wrote:
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > $Bill Luebkert
> > Sent: Thursday, June 14, 2001 6:26 PM
> > Cc: Sidwell, Josh; '[EMAIL PROTECTED]'
> > Subje
I believe this snippet of code does what you ask.
It finds all files containing a specific string
Since it prints line number and filename as it goes,
there is no need to store them, as you could capture the results.
Regards,
Rick Evans
__BEGIN__
use strict;
"$Bill Luebkert" wrote:
>
> "Sidwell, Josh" wrote:
> >
> > I am trying to write a small script that will recursively search through a
> > directory tree (from some arbitrary point) and return all of the files it
> > finds that match an expression. I then want to grep the results for a
> > specif
"Sidwell, Josh" wrote:
>
> I am trying to write a small script that will recursively search through a
> directory tree (from some arbitrary point) and return all of the files it
> finds that match an expression. I then want to grep the results for a
> specific string in each of thos files and re