thank you marshall,
I really appreciate your response , my problem now is to extract same type of tables lets say position log table here, as all the position log tables have same format, i want to know the start and end line numbers of these tables ,how can I do that mind you I have a huge text file order of gb's I want to extract similar tables and export them so that I can code them table specific (also table doesn't contain just a table it has some details, here place and time %I want to store these as well % )
approach: say every position log table has extension Fp379 and all pages start with the year ,I want to use these keywords%Fp379 for position log page and 2017 for all pages % to separate the required tables
like wise similar pages start with same extension.
2017 Position log :Fp379
place: cal
time: 23:01:45
| | |Pos |value | |bulk|lot| prev| newest|
|# |Locker|(dfg) |(no) |nul|val |Id | val |val |
-----------------------------------------------------------
| 0| 1| 302832| -11.88| 1| 0|Pri| 16| 0|
| 1| 9| 302836| 11.88| 9| 0|Pri| 10| 0|
| 2| 1| 302832| -11.88| 5| 3|Pri| 14| 4|
| 3| 3| 302833| 11.88| 1| 0|sec| 12| 0|
| 4| 6| 302837| -11.88| 1| 0|Pri| 16| 3|
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.