Is there anyone who knows how to delete all duplicate lines in a text file and leave only non-duplicate lines? For example:
A text file contains the following lines:
a
a
b
c
d
Now I want to delete the duplicate a and leave only the non-duplicate b c d. Can this be done with a batch script?
Thank you everyone!
A text file contains the following lines:
a
a
b
c
d
Now I want to delete the duplicate a and leave only the non-duplicate b c d. Can this be done with a batch script?
Thank you everyone!
