Accessing data from a tab-delimited file
I have a tab-delimited file, for example: ID NAME FAMILYTAG EFFECT 001 John Black Positive 002 Kate Rhodes,Mich Positive 003 Aaron Sunders Negative 004 Shirley Rhodes Negative 005 Dexter Sunders,Hark Positive I want to input this file (which is actually much larger) and read in a name, for example Kate. Then I want the script to recognize its family tag, i.e. it contains Rhodes, and then output the other family member Shirley. Is there a way to do this? The output file will look like this. Kate Rhodes Shirley Rhodes
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.