Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-08-11 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?