I'm trying to grab only matching lines from a file using grep. The problem is that, when for example I use the following expression:
grep -w AFFX-KIT-000088 textfile
it will return:
AFFX-KIT-000088-A
AFFX-KIT-000088
However, I only want the exactly matching expression AFFX-KIT-000088. I have already trying -F -E and quoting. The textfile where I need to grep the lines is very big and I can not modify it (this also means I need an answer that doesn't involve many steps as it would take forever to process).
Note:
The file is actually very big and has many columns (not only the one I'm using for grep).