<?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: need help appending lines/combining lines within a file... in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/need-help-appending-lines-combining-lines-within-a-file/m-p/4950799#M103385</link>
    <description>Hello Manuel,&lt;BR /&gt;&lt;BR /&gt;Here is an awk solution that you can use:&lt;BR /&gt;&lt;BR /&gt;# awk 'BEGIN{RS="";FS="\n"} {print $1,$2}' inputfile&lt;BR /&gt;&lt;BR /&gt;cheers!</description>
    <pubDate>Fri, 06 Jan 2006 17:43:00 GMT</pubDate>
    <dc:creator>Sandman!</dc:creator>
    <dc:date>2006-01-06T17:43:00Z</dc:date>
    <item>
      <title>need help appending lines/combining lines within a file...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-appending-lines-combining-lines-within-a-file/m-p/4950798#M103384</link>
      <description>Is there a way to combine two lines onto a single line...append the following line onto the previous line?&lt;BR /&gt;&lt;BR /&gt;I have the following file that contains some blank lines and some lines I would like to append to the previous line...&lt;BR /&gt;&lt;BR /&gt;current file:&lt;BR /&gt;checking dsk c19t2d6&lt;BR /&gt;&lt;BR /&gt;checking dsk c19t2d7&lt;BR /&gt;&lt;BR /&gt;checking dsk c19t3d0&lt;BR /&gt;&lt;BR /&gt;checking dsk c21t0d4&lt;BR /&gt;/dev/dsk/c21t0d4&lt;BR /&gt;&lt;BR /&gt;checking dsk c21t0d5&lt;BR /&gt;/dev/dsk/c21t0d5&lt;BR /&gt;&lt;BR /&gt;checking dsk c21t0d6&lt;BR /&gt;/dev/dsk/c21t0d6&lt;BR /&gt;&lt;BR /&gt;checking dsk c21t0d7&lt;BR /&gt;/dev/dsk/c21t0d7&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;looking for something like this:&lt;BR /&gt;&lt;BR /&gt;checking dsk c19t2d6&lt;BR /&gt;checking dsk c19t2d7&lt;BR /&gt;checking dsk c19t3d0&lt;BR /&gt;checking dsk c21t0d4 /dev/dsk/c21t0d4&lt;BR /&gt;checking dsk c21t0d5/dev/dsk/c21t0d5&lt;BR /&gt;checking dsk c21t0d6/dev/dsk/c21t0d6&lt;BR /&gt;checking dsk c21t0d7/dev/dsk/c21t0d7&lt;BR /&gt;&lt;BR /&gt;any assistance would be appreciated...thanks and happy new year,&lt;BR /&gt;manuel</description>
      <pubDate>Fri, 06 Jan 2006 17:16:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-appending-lines-combining-lines-within-a-file/m-p/4950798#M103384</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2006-01-06T17:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: need help appending lines/combining lines within a file...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-appending-lines-combining-lines-within-a-file/m-p/4950799#M103385</link>
      <description>Hello Manuel,&lt;BR /&gt;&lt;BR /&gt;Here is an awk solution that you can use:&lt;BR /&gt;&lt;BR /&gt;# awk 'BEGIN{RS="";FS="\n"} {print $1,$2}' inputfile&lt;BR /&gt;&lt;BR /&gt;cheers!</description>
      <pubDate>Fri, 06 Jan 2006 17:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-appending-lines-combining-lines-within-a-file/m-p/4950799#M103385</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-01-06T17:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: need help appending lines/combining lines within a file...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-appending-lines-combining-lines-within-a-file/m-p/4950800#M103386</link>
      <description>checking c18t13d5 /dev/dsk/c18t13d5&lt;BR /&gt;checking c18t13d6 /dev/dsk/c18t13d6&lt;BR /&gt;checking c18t13d7 /dev/dsk/c18t13d7&lt;BR /&gt;checking c18t14d0 /dev/dsk/c18t14d0&lt;BR /&gt;checking c18t14d1 /dev/dsk/c18t14d1&lt;BR /&gt;checking c18t14d2 /dev/dsk/c18t14d2&lt;BR /&gt;checking c18t14d3 /dev/dsk/c18t14d3&lt;BR /&gt;checking c18t14d4 /dev/dsk/c18t14d4&lt;BR /&gt;checking c18t14d5 /dev/dsk/c18t14d5&lt;BR /&gt;checking c18t14d6 /dev/dsk/c18t14d6&lt;BR /&gt;checking c18t14d7 /dev/dsk/c18t14d7&lt;BR /&gt;checking c18t15d0 /dev/dsk/c18t15d0&lt;BR /&gt;checking c18t15d1 /dev/dsk/c18t15d1&lt;BR /&gt;checking c18t15d2 /dev/dsk/c18t15d2&lt;BR /&gt;checking c18t15d3 /dev/dsk/c18t15d3&lt;BR /&gt;checking c18t15d4 /dev/dsk/c18t15d4&lt;BR /&gt;checking c18t15d5 /dev/dsk/c18t15d5&lt;BR /&gt;checking c18t15d6 &lt;BR /&gt;checking c18t15d7 &lt;BR /&gt;checking c19t0d0 &lt;BR /&gt;checking c19t0d1 &lt;BR /&gt;checking c19t0d2 &lt;BR /&gt;checking c19t0d3 &lt;BR /&gt;checking c19t0d4 &lt;BR /&gt;&lt;BR /&gt;worked like a charm, thanks :D</description>
      <pubDate>Fri, 06 Jan 2006 17:50:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-appending-lines-combining-lines-within-a-file/m-p/4950800#M103386</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2006-01-06T17:50:54Z</dc:date>
    </item>
  </channel>
</rss>

