Okay. But here's yet another version of a header block:

H--SEISMIC SURVEY DATA--SEG P1--test + LINE : ************** JOB NO. : ********* + CLIENT : ********************* + PROSPECT : **************** + CONTRACTOR : GEO STRATA RESOURCES INC. + FILENAME : ********* DATE : SEP 20, 2006 + PROJECTION : U.T.M. , S.F.=0.99960, NAD27, Clarke 1866 + ORIGIN : UTM ZONE 12 REF. MER. : 111.0000W + 0.99960000 DBS VERS. : ATS 2.6 + UNITS : GEOGRAPHICS: D.MS - COORD.: DECIMETERS - ELEV.: DECIMET +ERS SURVEYOR : MERCEDES SURVEYS COMPUTED BY : CAPELLA + KILOMETERS, LINE: 2.01 GROUP INTERVAL : 12.00 METER +S INTERPOLATED: ELEVATION = ^ ; HORIZONTAL = # ; BOTH = * + REM: SURVEY BY RTK GPS + + + + + + [ LINE ][ POINT ][ LAT ][ LONG ][ EAST ][ NORTH][ELE] *[ +COMMENT ]

The lines are padded with white space, but that's no problem. However, not all lines are always used. I don't need to keep blank lines, nor the very last line(s) that start with '<' or '['.


In reply to Re^2: Survey file parsing by YYCseismic
in thread Survey file parsing by YYCseismic

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.