Line buffer grep. Clean up output filter.