1. It should be possible to decide whether a trailing newline should be appended or not. 1. It should be possible to decide whether all extraneous newlines (after the final one) should be appended or not.