Boostrix
Boostrix
I am all in when it comes to formalizing these things, but I have seen it use CLI editors like sed/awk and perl to edit existing files in a rather...
For cross-platform file editing functionality similar to sed and awk, you can use Python's built-in string manipulation and regular expression modules: **re**, along with its file I/O functions.
assuming that you have access to GPT, you can probably just copy your changes and ask it to adapt those to use the Python "re" module instead - it's a...
> function changed to use re for cross_platform compatibilty Function now changes one or all occurences of specified text my 2c: I still believe having a lower-level function to run...
> @Boostrix I will take a look, but could use stem help as my programming skiles are not up-to-date yet I would not expend any time/effort on this, unless others...
@bfalans been playing with this, and it does make a difference. However, the logging output when updating a file could probably highlight differences between two files, i.e. by coloring additions/removals...
> I think the showing of changes would maybe be more of a plugin using an external program or own code See #4079 
> I can change it when I have new code ready for future changes to the update_file command, you might be interested in the python "sed" module: https://pypi.org/project/pythonsed/ You would...
this is definitely of interest in the context of #15 and #56
I would also be interested in seeing this updated/integrated and reviewed, because it's heavily related to the benchmarking issue: #1359