Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Regex to extract certain lines only from command output/text file.

by arnaud99 (Beadle)
on Mar 08, 2013 at 03:07 UTC ( #1022338=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    next if $a_line =~ /^\s*$/; #ignore empty lines
    
  2. or download this
    use strict;
    use warnings;
    ...
    9 hostname13 Generic        10000000AB2A3006A 3:5:2
                                 10000000AB2A30068 2:5:2
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022338]
help
Chatterbox?
[marto]: it makes things less stressful for the parents that's for sure :P

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2016-12-08 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (139 votes). Check out past polls.