Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: remove lines that do not match search pattern

by pme (Prior)
on Aug 03, 2015 at 21:08 UTC ( #1137298=note: print w/replies, xml ) Need Help??


in reply to Re^2: remove lines that do not match search pattern
in thread remove lines that do not match search pattern

OT

Filtering with Tcl/expect:

#!/usr/bin/expect while {[gets stdin line] >= 0} { if {[regexp {([[:xdigit:]]{2}:?){6}} $line]} { puts $line } }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2020-01-25 06:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?