Support for trimming lines in the output.