Hi
I would like lines from file1 that are common to file2 as in the following example:
thank you for your help
I would like lines from file1 that are common to file2 as in the following example:
Code:
cat file1
22 A alp 19 gtein
255 B macr 12 pring
3 C lin 12 pseue
90 D N-ace 8 1
Code:
cat file2
B
D
Code:
cat outfile
255 B macr 12 pring
90 D N-ace 8 1
thank you for your help