Thread
:
Help with scripting
View Single Post
#
4
(
permalink
)
05-09-2008
radoulov
addict
Join Date: Jan 2007
Location: Milan, Italy/Varna, Bulgaria
Posts: 1,203
Another one:
(use nawk or /usr/xpg4/bin/awk on Solaris)
Code:
awk 'NR==FNR{x[$1]=$0;next}$NF=x[$NF]' file2 file1
radoulov
View Public Profile
Find all posts by radoulov