[ARA] action PCK.AUTOMIC_TEXT fails to replace text if it contains the $ character

Document ID : KB000098282
Last Modified Date : 03/07/2018
Show Technical Document Details
Issue:
When used on a Linux Agent with  PCK.AUTOMIC_TEXT / "Text replace text" action fails to replace text if it contains the '$' character.
In the activation report
2018-02-02 13:21:12 - U00020206 Variable '&AGENT#' was stored with value 'VMSTS11CST02_ARA121_LX6_SAA_01'.
2018-02-02 13:21:12 - U00020206 Variable '&LOGIN#' was stored with value 'LOGIN.SAA'.
2018-02-02 13:21:12 - U00020206 Variable '&UC4RB_AGENT_OS#' was stored with value 'UNIX'.
2018-02-02 13:21:12 - U00020206 Variable '&UC4RB_TEXT_FILE_NAME#' was stored with value '/test/text.txt'.
2018-02-02 13:21:12 - U00020206 Variable '&UC4RB_TEXT_NEW_TEXT#' was stored with value '<change_OK>'.
2018-02-02 13:21:12 - U00020206 Variable '&UC4RB_TEXT_OLD_TEXT#' was stored with value '<$cell_e>'.
In the action report
 
************************************************************************
text-tool: text-tool
text-tool: (c) Automic Software GmbH
text-tool: Version: 1.1.3
text-tool: Date: 2017-09-13 10:01

Executing ReplaceText started

Started at 2018-02-02 14:23:29

=================================================




text-tool: PARAM: newText = <change_OK>
text-tool: PARAM: encoding = []
text-tool: PARAM: loglevel = 
text-tool: PARAM: file = /test/text.txt
text-tool: PARAM: isRegex = NO
text-tool: PARAM: where = ALL
text-tool: PARAM: oldText = <>
text-tool: INFO: Acquired the lock after 1 attempts.
text-tool: WARNING: Search pattern - <> - was not found!


 
Environment:
Package.Text 1.1.3
Cause:
Escaping the $ symbol for both windows but not unix 
Resolution:
A problem of escaping the $ symbol for both Windows and Linux jobs of Replace Text and Add Text has been fixed.
the fixes release on Package.Text 1.1.4 which also avaiable for download