Description
I have a CSV file with 6000+ lines in it. I have a list of about 300 words that each appear in only one row of the CSV file.
Problem
How do I extract only the rows that contain a word from a list so that I am left with about 300 rows; one for each word in the list.
Example:
user_a info 1 ... ...
user_b info 2 ... ...
user_c info 3 ... ...
user_d info 4 ... ...
user_e info 4 ... ...
user_f info 4 ... ...
user_g info 4 ... ...
... ... ... ...
... ... ... ...
In the above, I have a list: "user_a, user_c, user_g". How would I get a CSV with only:
user_a info 1 ... ...
user_c info 3 ... ...
user_g info 4 ... ...