Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 wandering the Monastery: (7)
As of 2014-07-29 06:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls