You can do that in your Expect (http://expect.sourceforge.net/) script. Expect is a Tcl extension and Tcl (http://wiki.tcl.tk) has regexp: http://wiki.tcl.tk/986. Do you really need separate script to filter the log?
In reply to Re: remove lines that do not match search pattern
by pme
in thread remove lines that do not match search pattern
by jasonwolf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |