Line ending weirdness