in reply to Re: Comparing lines in txt.file
in thread Comparing lines in txt.file
Well as far as code is concerned i cant make sense of it how to write that is why i seek help here and as far as my data is concerned i have already given in my first question the tracroute result where i have to match ip address in each line. once again trace route table is given below i want to check if ip address of line and the line before previous line are same it should display warning msg that says " routing loop". thanks for help
1 10.0.0.110 (10.0.0.110) 0.449 ms 0.353 ms 0.385 ms 2 10.0.0.109 (10.0.0.109) 0.367 ms 0.355 ms 0.412 ms 3 10.0.0.110 (10.0.0.110) 0.660 ms 0.669 ms 0.644 ms 4 10.0.0.109 (10.0.0.109) 0.794 ms 0.702 ms 0.665 ms 5 10.0.0.110 (10.0.0.110) 1.113 ms 1.010 ms 0.997 ms 6 10.0.0.109 (10.0.0.109) 1.039 ms 0.997 ms 1.001 ms
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Comparing lines in txt.file
by aaron_baugher (Curate) on Aug 16, 2012 at 10:34 UTC | |
by zakishah (Novice) on Aug 17, 2012 at 03:20 UTC |