I have two lists of numbers matching the line values I wish to match using awk.... How do I write a scritp to start at the values given by the list containing - ( These are the Values I need to match )
5103
1485
5663
4260
Now I need to decrement backwards until I hit the the closest value contained by the value in the list;
5087
2691
5691
4234
5256
4398
1978
5646
1467
5789
In other words I need to get the vale 5103 and match it to the line in the second list with the line number 5087.. Is this possible, given that these values will change everytime the server is recycled.....
Thanks for any help
Lambros.
5103
1485
5663
4260
Now I need to decrement backwards until I hit the the closest value contained by the value in the list;
5087
2691
5691
4234
5256
4398
1978
5646
1467
5789
In other words I need to get the vale 5103 and match it to the line in the second list with the line number 5087.. Is this possible, given that these values will change everytime the server is recycled.....
Thanks for any help
Lambros.