remove triling whitespaces and dos lineendings from man