Let's say I have two files, file1 and file2.
file1:
passd:xxx
hopla:alli
gnar:gungg
araf:utap
file2:
alli
utap
How can i check what lines/words from file2 match file? Indeed I could probably do it with comm -1 -2 file1 file2 but is it possible to do it with awk?