Hi,
This is a piece of a report that I have to generate. I am kinda stuck at this point..
I have file which may have duplicates in it. I would like to know the duplicates in the file and the number of times the word has been repeated..
The sample file looks like this..
2003.11.10,chapstick, lipstick - FILTER: 1
2003.11.10,chapstick - FILTER: 1
2003.11.10,chapstick - FILTER: 1
In the output, I want to see
2003.11.10|chapstick,lipstick|FILTER: 1|1
2003.11.10|chapstick|FILTER: 1|2
Can anybody show me HOW?
Thanks
This is a piece of a report that I have to generate. I am kinda stuck at this point..
I have file which may have duplicates in it. I would like to know the duplicates in the file and the number of times the word has been repeated..
The sample file looks like this..
2003.11.10,chapstick, lipstick - FILTER: 1
2003.11.10,chapstick - FILTER: 1
2003.11.10,chapstick - FILTER: 1
In the output, I want to see
2003.11.10|chapstick,lipstick|FILTER: 1|1
2003.11.10|chapstick|FILTER: 1|2
Can anybody show me HOW?
Thanks