Hi All,

I) In File :- bsc-20061121090000,IP 8.2.0.4352.1.1, occurs at just 3 places as:-

1) |8.2.0.4352.1.1|8.2.0.4352.1.1|0x3|10|2|105|36242050|58

2) |8.2.0.4352.1.1|8.2.0.4352.1.1|0x3|11|2|238|36241618|40

3) |8.2.0.4352.1.1|8.2.0.4352.1.1|0x3|14|6|3|97.232.1.2|6

1) |8.2.0.4352.1.1|8.2.0.4352.1.1|0x3|10|2|105|36242050|58 has for eg. the first 5 objects as :-

|5|1|6

|5|2|0

|5|3|0

|5|4|6

|5|5|0

II) In File :- bsc-20061121093000, the IP 8.2.0.4352.1.1, occurs at just 3 places as:-

1) |8.2.0.4352.1.1|8.2.0.4352.1.1|0x3|10|2|141|33554850|58

2) |8.2.0.4352.1.1|8.2.0.4352.1.1|0x3|11|2|250|38928802|40

3) |8.2.0.4352.1.1|8.2.0.4352.1.1|0x3|14|6|3|97.232.1.2|6

1) |8.2.0.4352.1.1|8.2.0.4352.1.1|0x3|10|2|141|33554850|58 has for eg. the first 5 objects as :-

|5|1|66

|5|2|0

|5|3|0

|5|4|66

|5|5|0

Need to add the identifiers of objects corresponding to each IP and print the output Objects in a new Output File. i.e. for eg:- add I.1) and II.1) like :-

|5|1|6 + |5|1|66 = 5|1|72

|5|2|0 + |5|2|0 = 5|2|0

|5|3|0 + |5|3|0 = 5|3|0

|5|4|6 + |5|4|66 = 5|4|72

|5|5|0 + |5|5|0 = 5|5|0

Now print the output in a new Output File.

Also, this comparison and addition operation is time bound i.e. should occur every 30 mins. Please give your Inputs.

Thanks and Regards,

KiranKumar K.


In reply to Adding object identifiers corresponding to each IP and printing them to O/P File. by Kiran Kumar K V N

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.