Thanks for looking. I've tried various awk, sed, paste, cut commands - arg. Looking for a bash solution.
I have two files - file1 is a csv of attributes for each user, beginning with userid in col1. in file2 lists userid and another unique attribute, matching each userid in file1
how can i write a 'for i in' , or 'while read line' on file1, store the userid on each line in file1 on col1 , search file2 for the userid and then store the 2nd value (listed like this userid,uniqueAttribute), and that append that uniqueAttribute at the end of the stored line in file1 (or a new file with the entire line from file1,uniqueAttribute.