I have 2 csv files. File A, with multiple columns. File B, with one column. eg.:
File A:
chr1 100000 100022 A C GeneX
chr2 200000 200033 X GeneY
chr3 300000 300055 G A GeneZ
File B:
GeneY
GeneZ
I would want my output to be:
chr2 200000 200033 X GeneY
chr3 300000 300055 G A GeneZ
I have tried using grep
(which crashes) and others.
I am certain there must be a very simple answer to this that I just can't see!