bookmark

Find the intersection between two files - The UNIX and Linux Forums


Description

awk 'NR==FNR{a[$0]=$0;next}a[$0]' file1 file2

Preview

Tags

Users

  • @folke

Comments and Reviews