Author: bshkris
Subject: SORT trick needed
Posted: Tue May 02, 2017 4:35 am (GMT 5.5)
Hello,
Is there any way to remove the duplicates fully(both records) using SORT?
Example:
Input File:
31267892017-01-01
31267892017-01-11
31354322017-04-03
11245622017-03-03
11245622017-03-03
The Expected output file:
31354322017-04-03
11245622017-03-03
I was able to get each unique record by using XSUM, but not able to remove the 1st 2 records totally.
If any idea please suggest.
_________________
hi, good luck, keep in touch
Subject: SORT trick needed
Posted: Tue May 02, 2017 4:35 am (GMT 5.5)
Hello,
Is there any way to remove the duplicates fully(both records) using SORT?
Example:
Input File:
31267892017-01-01
31267892017-01-11
31354322017-04-03
11245622017-03-03
11245622017-03-03
The Expected output file:
31354322017-04-03
11245622017-03-03
I was able to get each unique record by using XSUM, but not able to remove the 1st 2 records totally.
If any idea please suggest.
_________________
hi, good luck, keep in touch