rm newlines, which break sorting
stop ignoring the last split element