Dear liverpole,

Thanks a lot I would like that my outfile looks like :
0601|3|NORM|2|ALLO|XLF753|U|0045|0050| 0603|5|NORM|2|ALLO|ADR2CG||0430|0438| 0604|6|NORM|2|ALLO|AF681VC|i U|0500|0510| 0605|7|NORM|2|ALLO|AF651PQ|i|0515|0523| 0606|8|NORM|2|ALLO|AF713BR|i|0445|0453| 0607|9|NORM|2|ALLO|AFR100M|i|0520|0533| 0609|11|NORM|2|ALLO|GJT775|i E|2300|2315| 0610|12|NORM|2|ALLO|AF661WN|i|0450|0500|0500

So that there is a unique column for i, E, and U and if two both appear on the same line, that they are in the same column. (the separator can be "|" or ";")

In reply to Re^4: gathering of some elements of a list by steph_bow
in thread gathering of some elements of a list by steph_bow

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.