Page 1 of 1
Need a find and replace string for a file content
Posted: 05 Feb 2021 18:06
by salttank
I have many .h files, which need minor changes, all contained in a directory. I was thinking of using a batch file, or similar, which when executed would replace all occurrences of a string within those files with another string.
Theres no need for a log file or the file to be renamed.
Re: Need a find and replace string for a file content
Posted: 06 Feb 2021 23:40
by Squashman
I would highly recommend you look at using
JREPL
Re: Need a find and replace string for a file content
Posted: 07 Feb 2021 14:22
by salttank
how i use it for my aplication?
Re: Need a find and replace string for a file content
Posted: 07 Feb 2021 14:28
by aGerman
salttank wrote: ↑07 Feb 2021 14:22
how i use it for my aplication?
dbenham wrote: ↑14 Nov 2014 14:52
Full documentation is available from the command line via
JREPL /?, or
JREPL /?? for paged help.
The entire documentation is also listed at the top of the code, after the history.
Help is also available for specific topics - use
JREPL /?HELP for more info.