remove duplicate lines

Allows you to remove duplicate lines from within a file.


Example

Running this code will remove duplicate lines of "TEST2.txt" saved in "Desktop", creating a new file named "TEST4.txt" saved in "Desktop".

This is the content of "TEST2.txt".

This is the content of "TEST4.txt" - the duplicate line "repeating it again for reference" has been deleted.

plugin command("Data and Files Automation.dll", "remove duplicate lines", "{$special folder("Desktop")}\\TEST2.txt", "{$special folder("Desktop")}\\TEST4.txt")

Was this helpful?

Previous Article

regex find index

Next Article

rename files