I can achieve this with the new sort "remove duplicates" upto column 60. But I dont want to sort, I need to leave file the same.
I have a file with an average column length of 180. and 26,000 lines.
I want to mark every line that has a duplicate within the first 60 columns.
Here is an example.
Imagine the letters in my example are within the first 60 columns, and the numbers are column 61 and up.
the duplicate line in my example is the 3rd and 6th lines, both the same as 1st line. I want them marked with <<>> or something.
before....
aaaa 1111 2222 3333 4444
bbbb 1111 2222 3333 4444
aaaa 1111 2222 3333 4444
cccc 1111 2222 3333 4444
dddd 1111 2222 3333 4444
aaaa 1111 2222 3333 4444
after...
aaaa 1111 2222 3333 4444
bbbb 1111 2222 3333 4444
<<>>aaaa 1111 2222 3333 4444
cccc 1111 2222 3333 4444
dddd 1111 2222 3333 4444
<<>>aaaa 1111 2222 3333 4444
I hope that makes sense.
Is there a way to do this? I've searched the forums for a bit and haven't found the answer yet so sorry if I missed it.
I'm using UE v15.20.0.1020.
I have a file with an average column length of 180. and 26,000 lines.
I want to mark every line that has a duplicate within the first 60 columns.
Here is an example.
Imagine the letters in my example are within the first 60 columns, and the numbers are column 61 and up.
the duplicate line in my example is the 3rd and 6th lines, both the same as 1st line. I want them marked with <<>> or something.
before....
aaaa 1111 2222 3333 4444
bbbb 1111 2222 3333 4444
aaaa 1111 2222 3333 4444
cccc 1111 2222 3333 4444
dddd 1111 2222 3333 4444
aaaa 1111 2222 3333 4444
after...
aaaa 1111 2222 3333 4444
bbbb 1111 2222 3333 4444
<<>>aaaa 1111 2222 3333 4444
cccc 1111 2222 3333 4444
dddd 1111 2222 3333 4444
<<>>aaaa 1111 2222 3333 4444
I hope that makes sense.
Is there a way to do this? I've searched the forums for a bit and haven't found the answer yet so sorry if I missed it.
I'm using UE v15.20.0.1020.