Print selected parts of lines from the input to the output.