Revert "Revert "add line ending""

This reverts commit 95e1973cdb1e1ca1718089b48050c0602fae233c.