Quote:
Originally Posted by Franklin52
If you have the first output in file1 and the second output in file2:
Code:
awk '
NR==FNR{split($2,s,"/");i=s[2];a[i]=$3;next}
a[$7]{$0=$0 FS a[$7]}
{print}
' file2 file1
|
You Rock, that works great...
A couple questions...
Im still learing awk... Can you explain how this works.. What its doing so I dont have to ask about other scripts in the future and I can help others more.
really appreciate it.