Hi,
We use the component "Replace Text in File" in CA RA 6.1.
We want to comment a line in a file, so we search for "EXAMPLE" string and replace it by "#EXAMPLE".
The problem is, the string "#EXAMPLE" replace the targeted string but is added at the end of the file too.
Here's the file open with vi after the replacement:
"
#EXAMPLE
#EXAMPLE
~
~
~
~
~
~
~
~
"/path/to/file" [Last line is not complete] 30 lines, 1177 characters
"
We tried with regular expression to select the find string, same problem.
Is there a problem with the component?
Thanks and regards,
Mikaël