m4: filterout unneeded lines