Can someone please advise me. I am trying to import an IDM association attribute into eDirectory using ICE. I have the exported data modified using SED and there appears to be a problem with the data not importing.

When looking at the data on the linux machine it seems fine, but notepad on a windows box sees the carriage returns as squares and the lines of texts are not formatted accordingly.

The SED command causing all the problems is below:

sed -i '/ASSOC/ i\add: DIRXML-ASSOCIATIONS' filename.ldf

It finds the line with ASSOC string okay, and inserts the text above. But when looking at the data file on Windows it does not create the carriage return after 'add: DIRXML-ASSOCIATIONS'.

Does anyone know what I mean ? Any help or advice appreciated.