script that will scan through file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gholdbhurg
    New Member
    • Mar 2008
    • 1

    script that will scan through file

    Dear perl gurus,
    I plan to create a script that will scan through a logfile line by line.
    And if ever a certain line meets the below conditions, it will alert me via email.
    -->
    a) Position 10 to 13 = "ABCD"
    b) And also if the amount specified in position 620-640 is less than the amount in position 560-580
  • eWish
    Recognized Expert Contributor
    • Jul 2007
    • 973

    #2
    What was your question?

    --Kevin

    Comment

    • KevinADC
      Recognized Expert Specialist
      • Jan 2007
      • 4092

      #3
      Originally posted by eWish
      What was your question?

      --Kevin
      He has this same question posted on another forum where someone already posted an entire solution in awk even tough they asked for perl.

      Comment

      • eWish
        Recognized Expert Contributor
        • Jul 2007
        • 973

        #4
        And I was still awaiting the question. I guess I shall wait no longer.

        --Kevin

        Comment

        Working...