Only outputting changed lines to new file
Posted: Sat Mar 05, 2016 2:43 pm
I'm finding TextCrawler to be a great tool, but I'm struggling to get it to do what I'd like, but I don't know if it is possible.
I want to be able to find and replace lines in a large .txt file with other values and output it to a new file, but I would then like it to find other lines and output those as changes to the new file, while leaving the previous changes in the new file, and not overwriting them.
For clarity, say I have:
And I want to find and replace 5s with 500s and replace 9s with 900s, I'd want a new file after both of these commands to be processed to look like:
Is this feasible in TextCrawler? I've tried experimenting with batch scripts but to no avail.
If anybody has any suggestions that would be fantastic.
I want to be able to find and replace lines in a large .txt file with other values and output it to a new file, but I would then like it to find other lines and output those as changes to the new file, while leaving the previous changes in the new file, and not overwriting them.
For clarity, say I have:
Code: Select all
4
4
5
5
9
9
Code: Select all
4
4
500
500
900
900
If anybody has any suggestions that would be fantastic.