apply Unix formatting