Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Extract Block Of Text From Log

by ImJustAFriend (Scribe)
on Nov 20, 2018 at 22:02 UTC ( #1226079=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <13>Nov 13 17:27:25 OamCOMM[12260]:
    TIMESTAMP=Tue Nov 13 17:27:25 2018
    ...
    }
    Message Id=10011
    END OF REPORT
    
  2. or download this
    #!/bin/perl
    
    ...
    while  (<IN>) {
            print if /\*\sparameters after change\s\=/ .. /\*\sNRG locatio
    +n\s\=/;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1226079]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2021-05-11 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (123 votes). Check out past polls.

    Notices?