remove trailing whitespace; set linebreak style to Unix