In the following example I want to compare the two files and throw out any duplicate lines and also lines
that are within 10 from fields 3 and 4.
file 1 would be as follows:
1111 1000 -10 100
1111 1001 1 999
2222 1 1000 2000
2222 2 50 100
file 2 would be as follows:
1111 1000 0 100
1111 1001 1 1000
2222 1 1000 2000
2222 2 0 1000 *** This is the only line that would remain after compare and delete.
Thanks for any assistance.
that are within 10 from fields 3 and 4.
file 1 would be as follows:
1111 1000 -10 100
1111 1001 1 999
2222 1 1000 2000
2222 2 50 100
file 2 would be as follows:
1111 1000 0 100
1111 1001 1 1000
2222 1 1000 2000
2222 2 0 1000 *** This is the only line that would remain after compare and delete.
Thanks for any assistance.