Welcome to 16892 Developer Community-Open, Learning,Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

Hi all, i have a csv file like this: 

ecStudentID,StudentNetworkUsername,StudentName,StudentFirstName

100,ASTDTBJ001,"Andrew,Logan Connor",Logan

100,ASTDTBJ001,"Andrew,Logan Connor",Logan

101,BSTLTAN001,"Isaac,Matthew ",Matthew  

with bash how can I get column ID and first name without the duplicate. Example:

 ecStudentID,StudentFirstName

100,Logan

101,Matthew

Thank in advance 

thumb_up_alt 0 like thumb_down_alt 0 dislike
1.6k views
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

Welcome to 16892 Developer Community-Open, Learning and Share

548k questions

547k answers

4 comments

56.5k users

...