Skip to content

Commit

Permalink
Fix replace_string docs tp valid rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreso committed Mar 1, 2022
1 parent 8deb57e commit 1e4a992
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions semeio/jobs/scripts/replace_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
description = """
Performs inplace string replacement in a files.
ARGS
FROM: string to match what to replace
TO: expression to replace the match
FILE: name of file to perform replacement in.
Example:
FORWARD_MODEL_JOB REPLACE_STRING(<FROM>=something, <TO>=else, <FILE>=file.txt)
> replace all something to else in file.txt
| ARGS
| FROM: string to match what to replace
| TO: expression to replace the match
| FILE: name of file to perform replacement in.
| Example:
| FORWARD_MODEL_JOB REPLACE_STRING(<FROM>=something, <TO>=else, <FILE>=file.txt)
| > replace all something to else in file.txt
Due to ERT particular way of parsing config files, there are some curiosities
To escape characters like , use '', however this misses white space
Expand Down

0 comments on commit 1e4a992

Please sign in to comment.