Editing adapter profiles on the UNIX or Linux operating system
The adapter profile .jar file might contain ASCII files that are created by using the MS-DOS ASCII format.
About this task
If you edit an MS-DOS ASCII file on the UNIX operating system, you might see a character
^M
at the end of each line. These characters indicate new lines of text in MS-DOS.
The characters can interfere with the running of the file on UNIX or Linux® systems. You can use
tools, such as dos2unix, to remove the ^M
characters. You can also use text
editors, such as the vi editor, to remove the characters manually.
Example
^M
characters. From the
vi command mode, run the following command and press
Enter::%s/^M//g
When you use this command, enter ^M or
Ctrl-M by pressing ^v^M or Ctrl V Ctrl M sequentially. The
^v instructs the vi editor to use the next keystroke instead of issuing it as a
command.