Test data (input file):
1 1 11412 00353xxxxxxxxx 100 1017 00353xxxxxxxxx Voice - Na
+t Free Call FREE::VOICE 01-DEC-11 20-NOV-11 600 0 0
+ 0 0 0 0 0 0 0,[ ],[ ],[ ]|0,[ ],[ ],[ ]|0,[ ],[
+],[ ] Non-FU 0 National and International Voice Calls
It's tab delimited. Hence I'm just looking to extract the 1st, 15th and 26th fields. 2 files will be read.
1st & 26th field will be my key. Field 15th is the value I'm comparing against the 2 fields. Any differences will be reported.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.