Hi,
I am trying to eliminate duplicates from a comma-seperated list of email addresses that looks something like this (no newlines)
myemail@address.com,bossemail@address.com,
computerstaffemail@address.com,myemail@address.com
I have tried
sort -u -t , emailfile.txt
but it doesn't seem to work unfortunately ... what am I doing wrong ???
Thanks
BTW if anyone knows of a nice algorithm for awk that would do the job, that would be cool also
I am trying to eliminate duplicates from a comma-seperated list of email addresses that looks something like this (no newlines)
myemail@address.com,bossemail@address.com,
computerstaffemail@address.com,myemail@address.com
I have tried
sort -u -t , emailfile.txt
but it doesn't seem to work unfortunately ... what am I doing wrong ???
Thanks
BTW if anyone knows of a nice algorithm for awk that would do the job, that would be cool also