> We developed a product in windows and prepared installers
> both for windows and unix OS.The project files contains some
> unix scripts for the application to run on Unix OS.
> So when we run the installer and install the product in Unix
> OS , the unix script files which get installed pertaining to the
> application have this ^M at the end of the lines.
The obvious solution to the problem is to use an Editor that's capable of writing out Unix compatible files.
Probably the best commercial one for Windows users is TextPad
http://www.textpad.com.
HTH
Kevin