easy grep question

From: Taylor, David (DTaylor_at_WBMI.COM)
Date: 12/19/03

  • Next message: John Jolet: "Re: apache2 up! Q on socket 80"
    Date:         Fri, 19 Dec 2003 10:25:46 -0600
    To: aix-l@Princeton.EDU
    
    

    Hi *

     

    I would imagine that the answer to my question is very simple, but for
    some reason I am experiencing brain-lock today.

     

    I need to search a file for the string "ABC123" but only if the
    following line contains either "DEF456" or "GHI789". All three strings
    occur multiple times within this file, I am only concerned with the
    instances where the first string is immediately followed by one of the
    other two.

     

    TIA

     

    David Taylor

    Senior Software Systems Engineer

    West Bend Mutual Insurance

    (262) 335-7077

     

    **********************************************************************
    This email and any files transmitted with it are confidential and
    intended solely for the use of the individual or entity to whom they
    are addressed. If you have received this email in error please notify
    the system manager.

    This footnote also confirms that this email message has been swept by
    MIMEsweeper for the presence of computer viruses.

    www.mimesweeper.com
    **********************************************************************


  • Next message: John Jolet: "Re: apache2 up! Q on socket 80"

    Relevant Pages