Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-07-04 21:39 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 (60 votes), past polls