in reply to Re: Getting data from second file, based on first files contents;
in thread UPDATED - Getting data from second file, based on first files contents;
file2.txt123 456 789
and the stuff that gets extracted from file 2 are based off of file1's contents. iIt takes the data from file 1 and gets the first match it finds in file 2, then gets the right side column and compasres that against the entire file.123 string 1 111 string 1 script should skip this line 222 string 1 333 string 1 456 string 2 444 string 2 it should skip this line as well 555 string 2 666 string 2 789 string 3 777 string 3 also skipping this line too 888 string 3 999 string 3
Thanks for the tips btw :)123 string 1 111 string 1 222 string 1 333 string 1 456 string 2 444 string 2 555 string 2 666 string 2 789 string 3 777 string 3 888 string 3 999 string 3
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Getting data from second file, based on first files contents;
by kcott (Archbishop) on Oct 29, 2015 at 17:43 UTC | |
by james28909 (Deacon) on Oct 30, 2015 at 04:10 UTC | |
by kcott (Archbishop) on Oct 30, 2015 at 07:43 UTC |