Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Regex to extract certain lines only from command output/text file.

by perl514 (Pilgrim)
on Mar 07, 2013 at 17:58 UTC ( #1022282=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     7 hostname12 Generic-legacy 10000000AB210ACF6 ---
                                 10000000AB210ACF4 2:5:4
    ...
                                 5001438002A30048 2:3:3
                                 5001438002A30048 2:5:2
                                 5001438002A30048 2:5:2
    
  2. or download this
    7 hostname12 Generic-legacy 10000000AB210ACF6 ---
                                 10000000AB210ACF4 2:5:4
                                 10000000AB210ACF4 2:3:4
                                 10000000AB210ACF6 3:5:4
    
  3. or download this
    23 srvernam   Generic-legacy 5001438002A3004A 3:3:3
                                 5001438002A3004A ---
    ...
                                 5001438002A30048 2:5:2
                                 5001438002A30048 2:5:2
    
  4. or download this
    21 HOSTNAME   Generic                       
    
  5. or download this
    9 hostname13 Generic        10000000AB2A3006A 3:5:2
                                 10000000AB2A30068 2:5:2
    
  6. or download this
    #!/usr/bin/perl
    use warnings;
    ...
        }
        
        
    
  7. or download this
    use Learning::Perl;
    use Beginning::Perl::Ovid;
    print "Awesome Books";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1022282]
Approved by Corion
Front-paged by 2teez
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2015-07-31 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls