I have a text file that was created by a Windows application for reporting. I have to do some formatting on it so I FTP it to the UNIX box and want to use PERL and regexp to format the file. I had to use binary FTP option as this file seems to contain some binary characters.
When I open the file in vi.........at the end of each line there is ^M character right before the newline. When I cat the file this character does not appear. How can I trap this character through sed or regexp and remove it.............Now I know that it probably will not be a factor in my formatting, I would still like to know how to trap these characters and remove them. Any help would be great. Thank you for your time.. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]