I also tried dos2unix and it said that it wasn't installed - so i'm installing it now (it helpfully gave instructions!)