Hi,
I have a .csv file which contains script names, subjects and email_addresses
The first two colums are always script name and subject, the next 20 colums are email address..
What i want to do is sort the email address in alphabetical order for each row and there's around 1200 rows.
So instead of it looking like script1,subject1,j@p.com,a@p.com,c@hi.com
it'll look like
script1,subject1,a@p.com,c@hi.com,j@p.com
Or if anyone could tell me how to extract one instance of every email found in this .csv file and dump them into a new file that would be nice too
How would i go about doing this?
Using .ksh by the way.
Please help a lost and desparate person!!