Start a new topic

Comment in a shell script - copy & paste

I want to copy something from a shell script in a Rebex window to another window. In both windows I have the VI on.

Unfortunately, all lines after a comment also become comments. 


  Example:

# This is a comment
This is not a comment

changed by copy & paste in:

 

# # This is a comment
# This is not a comment

 

However, lines before the # are not changed. I checked all the settings. If I copy the lines to another application, everything is fine. It happens when pasting. What do you have to do to prevent this from happening again?

 

 

 

 

 

1 Comment

Hi Christian,


I just tried it and it seems to work for me.

Login or Signup to post a comment