Filtering with Tcl/expect:
#!/usr/bin/expect while {[gets stdin line] >= 0} { if {[regexp {([[:xdigit:]]{2}:?){6}} $line]} { puts $line } }
In reply to Re^3: remove lines that do not match search pattern
by pme
in thread remove lines that do not match search pattern
by jasonwolf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |