<?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: joinin lines in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/joinin-lines/m-p/4032674#M93829</link>
    <description>WOW!! Thanks Peter..&lt;BR /&gt;Exactly wat i wanted... full points to you..</description>
    <pubDate>Thu, 05 Jul 2007 05:39:15 GMT</pubDate>
    <dc:creator>Rinky</dc:creator>
    <dc:date>2007-07-05T05:39:15Z</dc:date>
    <item>
      <title>joinin lines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/joinin-lines/m-p/4032672#M93827</link>
      <description>Hi experts!&lt;BR /&gt;I want every 2nd and 3rd line in a file to be joined to the previous line using unix.&lt;BR /&gt;No perl commands please&lt;BR /&gt;EG: in my file:&lt;BR /&gt;Do&lt;BR /&gt;Not&lt;BR /&gt;Leave&lt;BR /&gt;Do&lt;BR /&gt;Take&lt;BR /&gt;Care&lt;BR /&gt;&lt;BR /&gt;I need the output as:&lt;BR /&gt;Do Not Leave&lt;BR /&gt;Do Take Care&lt;BR /&gt;&lt;BR /&gt;Plssssss help</description>
      <pubDate>Thu, 05 Jul 2007 05:10:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/joinin-lines/m-p/4032672#M93827</guid>
      <dc:creator>Rinky</dc:creator>
      <dc:date>2007-07-05T05:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: joinin lines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/joinin-lines/m-p/4032673#M93828</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;is awk OK?&lt;BR /&gt;&lt;BR /&gt;awk 'NR%3==1 {str=$0}&lt;BR /&gt;NR%3==2 {str=str" "$0}&lt;BR /&gt;NR%3==0 {print str,$0}&lt;BR /&gt;END {if (NR%3) print str}' filename&lt;BR /&gt;&lt;BR /&gt;This will even take care for incomplete fields at the end of a file.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Thu, 05 Jul 2007 05:23:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/joinin-lines/m-p/4032673#M93828</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2007-07-05T05:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: joinin lines</title>
      <link>https://community.hpe.com/t5/operating-system-linux/joinin-lines/m-p/4032674#M93829</link>
      <description>WOW!! Thanks Peter..&lt;BR /&gt;Exactly wat i wanted... full points to you..</description>
      <pubDate>Thu, 05 Jul 2007 05:39:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/joinin-lines/m-p/4032674#M93829</guid>
      <dc:creator>Rinky</dc:creator>
      <dc:date>2007-07-05T05:39:15Z</dc:date>
    </item>
  </channel>
</rss>

