Remove space at end of a line.