kmpkg_replace_string
Replace a string in a file.
Usage
kmpkg_replace_string(<filename> <match> <replace> [REGEX] [IGNORE_UNCHANGED])
Parameters
<filename>
The path to the file to modify.
<match>
The string to match.
<replace>
The string to replace all matched sequences with.
[REGEX]
If this argument is present, the <match> argument is treated as a regular expression.
[IGNORE_UNCHANGED]
Disable the warning if the file is not changed.