Search Results

Search: Posts Made By: OBAFGKM
4,733
Posted By Scrutinizer
Try: awk 'NR==FNR{A[$1];next}!($1 in A)' f1 f2
Try:
awk 'NR==FNR{A[$1];next}!($1 in A)' f1 f2
4,733
Posted By phoenix_nebula
Try this
bash-3.2$ cat f1.txt
aa 111 111
bash-3.2$ cat f2.txt
aa 555 555
bb 666 666
cc 777 777
bash-3.2$ awk '{print "grep -v "$1" f2.txt"}' f1.txt |sh
bb 666 666
cc 777 777
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy