I have 2 files. In some of the records, string 1 will match but other strings will not. I want to be able to report out the records from file 2 where string 1 matches string 1 from file 1.
Ex.
FILE 1
111
222
333
444
555
FILE 2
111 AAAA
345 DKDK
4445 45TG
444 BBB
In this example, I would want to report out line 1 and line 4 from file 2.
1111 AAAA
444 BBB
Ex.
FILE 1
111
222
333
444
555
FILE 2
111 AAAA
345 DKDK
4445 45TG
444 BBB
In this example, I would want to report out line 1 and line 4 from file 2.
1111 AAAA
444 BBB