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

    • Re: Controlling Javascript from server side
      ... but five different language implementations here. ... 'true' means that the request must be handled asynchronously. ... There is exactly *no* reason for such a thing here. ... | percent-endoded string). ...
      (comp.lang.javascript)
    • Re: Is that a good design?
      ... I would have been able to reason the first gotcha. ... public string FirstName; ... has a reference architecture that shows the use of patterns. ... Public Shared Function GetUserInstance() As User ...
      (microsoft.public.dotnet.framework)
    • Re: packagemaker script assistance needed.
      ... Is there a reason you're conditionalizing the whole block instead of one ... string will do as you want.) ...
      (comp.sys.mac.programmer.help)
    • Re: Allow Zero Length String Property - 2000 vs 2003
      ... Well, if that was the reason, I believe my second point still stands - ... Web Interfaces do empty strings. ... > "Brendan Reynolds" <brenreyn at indigo dot ie> wrote in message ... >> Are you the same person who posted the 'Allow Zero Length String in MS ...
      (microsoft.public.access.tablesdbdesign)
    • Re: a method to make js have the ability to inherit
      ... but without the implied type-conversion of the string ... that uses the name of a specific constructor. ... programmer has no idea at all what types of object they are ... no reason for ever doing so. ...
      (comp.lang.javascript)