Invalid Character in script causes failure

Document ID : KB000123030
Last Modified Date : 14/12/2018
Show Technical Document Details
When attempting to run restart an Unrecognized character \x0F is received

Trying to "restart" the processd process by issuing the following command: 

$ . / restart 

When the above command is run this error is received: 

Unrecognized character \x0F; marked by <-- HERE after my $os = $<-- HERE near column 11 at ./ line 13. 
Spectrum 10.3
Issue in the $SPECROOT/lib/SDPM/ script
Out of the box line 13 of the $SPECROOT/lib/SDPM/ appears as follows when editing the file:

my $os = $^O;

To resolve this issue simply open a bash shell and remove the $^O; and manually re-enter the $^O: where the O is a capital O and not the number 0.

Once the original entry has been removed and replaced save the changes in the Then attempt to reissue the command. 

The error should no longer be encountered.

Additional Information:
Spectrum 10.3