I have a CSV file that looks like this:
English, "Hawkin, Jason" ,[email protected]
English, "McDonald, Matt" ,[email protected]
English, "Campbell, Josh" ,[email protected]
My intention is to make a Bash Script to make a second CSV file with the following format:
ID, Email, FNAME, LNAME
jhawkin110, [email protected], Jason, Hawkin
After using "cut" to remove the first column I did not need, I am at a loss on how to create the "ID" by extracting the first part of the "Email".