SDP2 - How to Find and Remove ^M Characters in a SDP2 File

(Doc ID 2394553.1)

Last updated on MAY 10, 2018

Applies to:

StorageTek Service Delivery Platform (SDP2) - Version 2.1.1 to 2.4.0 [Release 2.0]
Information in this document applies to any platform.

Goal

 ^M characters at the end of a line in a file represent the Windows way of signaling a new line (CR/LF). Unix (including Linux) signal the end of a line with a LF only, so this means the Unix/Linux OS isn't interpreting end of lines correctly. This can happen in several ways:

- You edited a file in Windows. Please note that opening the file and then saving it (without making any changes) is enough to cause this problem!

- You used FTP to transfer the file without setting it to binary mode first

- You inserted the character manually

Removing these can be done in several ways (see below)

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms