...1.0.48.05 is newer & is still the "standard version". Then of course there's AHK_L, which is even newer, but non-standard.
I'm using AHK 220.127.116.11 (standard version).
...not yet. 1 thing I did notice tho...you Sort, then StringReplace...that may be fine, but it may also affect which lines are sorted where. I think I'd StringReplace, then Sort.
Do you have any suggestions for improving the "Mark each line as old or new" part of the code, shown below?
Ah yes, now I do have a recommendation...you are Loop, Read'ing the file you just wrote...all5.txt was just written from %var2%...so you could just Loop, Parse, var2 (but I'd rename that var)...also, you don't need to write all5.txt just to turn around & write all6.txt...keep processing the text in-memory, then dump it out to the file once you are done changing it. I'll try to write something up...