Hi,
i need to remove duplicates from a file and write duplicate records in to another file. i know this can be done through (sum fields=none,xsum) , but i want to make a small change in the duplicate record (edit duplicate) and write it to SORtXSUM file
input file:
A123456789
A123456789
A987654321
output file:
A123456789
A987654321
The duplicate from input file will be written to SORTXSUM file and just need to change the first byte from 'A' to 'B'.
SORTXSUM File:
B123456789