Hmmm..... Were you already given a 'starting' point here?
vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
I don't quote follow the output - what's being repeated?
How do expect to 'relate' records/lines from both files?
What's the common key/fields relating lines/records from both files?
Can you give a very simple sample of both files (1 line each) AND a desired result based on the sample data...
Your output does not jive exactly with your sample input file and your 'testing' formula.
Re-validate your either your 'formula' or your desired output.
I've implemented your formula as is:
nawk -f demis.awk data1 data2
FNR==NR {
f1[$2,$3]=$1
next
}
{
for (f1iter in f1) {...
without seeing what you've tried so far. it's hard to say.....
vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
It's not that "you are not direct with the questions" - you're not showing your OWN effort along the way.
It's somewhat disconcerting seeing an OP leaching solutions from multiple sites and posting someone else's solution as his/her own. At least have the courtesy of quoting someone else's work...
tonivm,
it seems that you have a propensity of not giving direct answers when asked about your own implementation effort. At least in this forum.
Pls try your do your own investigation and try your own 'hand' first. It looks like you've been given quite a number of solutions recently and should...
Hmmm..... This reminds me of a solution at the other forum.
vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.