wallythewhale
Technical User
Hello,
I have a perl script that runs under Windows 2000 that creates a file. Each line in the file contains a \r\n at the end of it.
I want to use this file in Unix. But Unix does not like the \r. If I remove them with the vi editor, all is good.
I have tried the substitute commands, s/\r//g and s/\^M//g, but they do not work. Is there a perl way of doing this?
Any help would be appreciated.
Wally