I have a question here. I have a source file A that contains a column as shown below:
LG111222332626 2626 TCGA LG111222332626 467789 GCGG .....
The column is separated by the "TAB" delimiter. My question is: how to get my wish line from raw file A if I was given a list B, as shown below:
LG111222332626 2626 LG111222334768 1212 .........
I was wondering if the grep function would be able to do something like this
grep -e "LG111222332626\t2626"
(but grep doesn't seem to recognize \t here that this is the correct way to do this.)
Thanks to everyone. Sorry if the way to express your problem is a bit confusing, hope you read me =)
source share