i use ultraedit as an editor which, among many other features, has the capability to convert from dos to unix line endings, which would be very handy in your context. i won't go into it's other features here ... a 45 day evaluation version can be downloaded from www.ultraedit.com ... registration is $30.