FlashMX <[EMAIL PROTECTED]> wrote:

: I need to search for a certain string in a datafile and
: execute some other code if a match is found.
: 
: Do I have to read in the file before I can perform a grep?

    Yes.


: I thought the grep works like it would from a command line?
: grep "string to search" <FILENAME>


    No. Read the manual.


HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
254 968-8328



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to