groovy read file A and output specific lines to file B
Can someone give me an example of using filterLine to read all lines in file A that begin with abc and write those lines to file B.  If filterLine is the wrong method, please let me know.  Thanks.
groovy read file A and output specific lines to file B
===

Can someone give me an example of using filterLine to read all lines in file A that begin with abc and write those lines to file B.  If filterLine is the wrong method, please let me know.  Thanks.