in reply to dos2unix line endings on Windows

-i without the .bak will create no backup

You could have used File::Find to traverse the subdirectories, but if your solution works there is no reason to change it

Replies are listed 'Best First'.
Re^2: dos2unix line endings on Windows
by Corion (Patriarch) on Feb 11, 2010 at 12:34 UTC

    Not on Windows. A bare -i does not work on Windows because you can't unlink a file while it's still open.

      ah, that's why... thanks!