<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Remove consecutive duplicated lines  from a file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-consecutive-duplicated-lines-from-a-file/m-p/7068853#M495841</link>
    <description>&lt;P&gt;not really a HP-UX sepcific question - there are lots of ways to do this and some simple google-fu would have found some...&lt;/P&gt;&lt;P&gt;This selection of answers was near the top of my search response:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/1444406/how-to-delete-duplicate-lines-in-a-file-without-sorting-it-in-unix" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/1444406/how-to-delete-duplicate-lines-in-a-file-without-sorting-it-in-unix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2019 14:26:08 GMT</pubDate>
    <dc:creator>Duncan Edmonstone</dc:creator>
    <dc:date>2019-11-06T14:26:08Z</dc:date>
    <item>
      <title>Remove consecutive duplicated lines  from a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-consecutive-duplicated-lines-from-a-file/m-p/7068828#M495840</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need an help in order to remove some duplicated lines from a text file.&lt;/P&gt;&lt;P&gt;######### INPUT FILE ###########&lt;/P&gt;&lt;P&gt;ABC&lt;/P&gt;&lt;P&gt;CDE&lt;/P&gt;&lt;P&gt;FGH&lt;/P&gt;&lt;P&gt;FGH&lt;/P&gt;&lt;P&gt;ABC&lt;/P&gt;&lt;P&gt;ABC&lt;/P&gt;&lt;P&gt;ABC&lt;/P&gt;&lt;P&gt;FGH&lt;/P&gt;&lt;P&gt;CDE&lt;/P&gt;&lt;P&gt;CDE&lt;/P&gt;&lt;P&gt;#####################################&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DESIRED OUTPUT&lt;/P&gt;&lt;P&gt;######### OUTPUT FILE ###########&lt;/P&gt;&lt;P&gt;ABC&lt;/P&gt;&lt;P&gt;CDE&lt;/P&gt;&lt;P&gt;FGH&lt;/P&gt;&lt;P&gt;ABC&lt;/P&gt;&lt;P&gt;FGH&lt;/P&gt;&lt;P&gt;CDE&lt;/P&gt;&lt;P&gt;#####################################&lt;/P&gt;&lt;P&gt;I do not need to order the file. buto only to remove duplicated lines if they are consecutive.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernardo&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 11:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-consecutive-duplicated-lines-from-a-file/m-p/7068828#M495840</guid>
      <dc:creator>gaudiobe</dc:creator>
      <dc:date>2019-11-06T11:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove consecutive duplicated lines  from a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-consecutive-duplicated-lines-from-a-file/m-p/7068853#M495841</link>
      <description>&lt;P&gt;not really a HP-UX sepcific question - there are lots of ways to do this and some simple google-fu would have found some...&lt;/P&gt;&lt;P&gt;This selection of answers was near the top of my search response:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/1444406/how-to-delete-duplicate-lines-in-a-file-without-sorting-it-in-unix" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/1444406/how-to-delete-duplicate-lines-in-a-file-without-sorting-it-in-unix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 14:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-consecutive-duplicated-lines-from-a-file/m-p/7068853#M495841</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2019-11-06T14:26:08Z</dc:date>
    </item>
  </channel>
</rss>

