hpc_edit_file
Replace an exact string in a file in a writable HPC cluster path. Fails if the old string is not unique unless replace_all is true.
Instructions
Replace an exact string in a file in a writable location. Fails if old_string is not unique unless replace_all=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path on the cluster | |
| new_string | Yes | ||
| old_string | Yes | ||
| replace_all | No |