Fast alternative to grep -f

前端 未结 8 1273
春和景丽
春和景丽 2020-12-11 16:00

file.contain.query.txt

ENST001

ENST002

ENST003

file.to.search.in.txt

ENST001  90

ENST002  80

ENST004  50
8条回答
  •  自闭症患者
    2020-12-11 17:00

    If you have fixed strings, use grep -F -f. This is significantly faster than regex search.

提交回复
热议问题