I have hundreds of html files and each of these files has the term "Issue 1" given in it, at two different places in the same file. My goal here is to increment the issue number across the files.
For example: The files are A1, A2, A3... etc. The file A1 has "Issue 1" given at two places in the file. This file does not need to be changed.
The file A2 again has "Issue 1" given at two places in the file. This file needs to be changed so that "Issue 1" is automatically incremented to "Issue 2" at both places, and so on for all the files.
How to do this in Gawk script? I love Notepad++, but I am not a technical (programmer) user. I need a relatively simple way to perform this task that is easily repeatable and timely.