file2 content
f1
file2 content
f1,1,2,3,4,5
f1,2,4,6,8,10
f10,1,2,3,4,5
f10,2,4,6,8,10
f5,1,2,3,4,5
f5,2,4,6,8,10
awk 'FNR==NR{a[$1];next}; !($1 in a)' file2 file1
output
f10,1,2,3,4,5
f10,2,4,6,8,10
f5,1,2,3,4,5
f5,2,4,6,8,10
awk 'FNR==NR{a[$1];next}; ($1 in a)' file2 file1
output
nothing displaying
any help, I am using ksh, thanks!