Sort card for trailer 3
Posted: Sun Sep 06, 2020 2:02 pm
Im having a file lenght 600 bytes(whereas first 3 bytes is number...40 to 56 is name field) ...I want a output file with heading and count
Input
123 abc
123 abc
123 abc
234 edf
234 edf
345 brc
345 brc
Required output
Num name count
123 abc 3
234 edf 2
345 brc 2
Input
123 abc
123 abc
123 abc
234 edf
234 edf
345 brc
345 brc
Required output
Num name count
123 abc 3
234 edf 2
345 brc 2