怀疑群体数据

时间:2017-05-03 23:11:42

标签: perl hash hashtable

我需要帮助解决以下问题。我有一个包含以下数据的文件。

21997|||70049,,20170428154818,20170527235959|||
21997|||70070,,20170428154739,20170527235959|||

21998|||70049,,20170428154818,20170527235959|||
21998|||70070,,20170428154739,20170527235959|||
21998|||70071,,20170428154739,20170527235959|||

我需要按如下方式统一文件。

21997|||70049,,20170502172844,20170531235959; 70070,,20170502172844,20170531235959|||

21998|||70049,,20170502172844,20170531235959; 70070,,20170502172844,20170531235959; 70071,,20170502172844|||

有人能帮助我吗?

1 个答案:

答案 0 :(得分:-1)

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.min.js"></script>

<div class="parent">
  <div class="img-container">
    <img src="https://az616578.vo.msecnd.net/files/responsive/cover/main/desktop/2016/11/03/636137866789556986-167666954_city-skyline-drawing-wallpaper-2.jpg" draggable="false" />
  </div>
  <div id="info">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur egestas convallis enim quis pharetra. Etiam interdum viverra ligula, ut aliquam sem cursus eu. Etiam vehicula consequat porta. Sed iaculis eget nisl id rhoncus. Quisque cursus turpis vel
    nunc molestie, sed hendrerit metus varius. Suspendisse hendrerit dapibus purus, vestibulum iaculis ligula tristique non. In hac habitasse platea dictumst. Etiam sed volutpat erat. Donec mauris libero, posuere ut metus id, molestie varius arcu. Maecenas
    sed neque augue. Vestibulum tempus dictum semper. Phasellus maximus nisi in dolor ultrices condimentum. Sed venenatis sollicitudin suscipit. Integer aliquam mattis tellus, in pulvinar ligula rutrum ac.
    <br />
    <br /> Morbi elementum nec lorem nec blandit. Donec varius nulla eu nibh aliquet, a euismod ligula interdum. Morbi finibus erat leo, congue tempor nibh lobortis ac. Duis tempor ante vitae eros molestie scelerisque at non ex. Integer auctor a odio dapibus
    dapibus. Vivamus eget hendrerit magna. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Phasellus cursus bibendum egestas. Nullam vel nulla quis lorem dapibus sagittis. Suspendisse lacinia ligula sem, sed
    ullamcorper mauris euismod a.
  </div>
</div>