I have 2 txt files on Linux.
A.txt (each line will contain a number):
1 2 3
B.txt content (each line will contain a number):
1 2 3 10 20 30
grep -f A.txt B.txt below:
1 2 3 10 20 30
Is there a way to grep this way, I only get an exact match, i.e. not 10, 20, 30?
Thank you in advance
source share