<?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: Join lines together in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523776#M878413</link>
    <description>If you want a real quick and dirty way, this script should do it:&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;while read A&lt;BR /&gt;do&lt;BR /&gt;    read B&lt;BR /&gt;    echo "$A$B"&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Pipe the file you want to modify into it and redirect the output to another file. HTH.&lt;BR /&gt;&lt;BR /&gt;-JWJ</description>
    <pubDate>Wed, 02 May 2001 13:39:47 GMT</pubDate>
    <dc:creator>Jerry Jordak</dc:creator>
    <dc:date>2001-05-02T13:39:47Z</dc:date>
    <item>
      <title>Join lines together</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523773#M878410</link>
      <description>Is it possible to concatenate lines together within a file using cat or any other unix command (within vi I use shift + J)&lt;BR /&gt;&lt;BR /&gt;For example :-&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;3&lt;BR /&gt;4&lt;BR /&gt;&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;&lt;BR /&gt;12&lt;BR /&gt;34</description>
      <pubDate>Wed, 02 May 2001 13:26:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523773#M878410</guid>
      <dc:creator>Enda martin</dc:creator>
      <dc:date>2001-05-02T13:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Join lines together</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523774#M878411</link>
      <description>hi,&lt;BR /&gt;within vi:&lt;BR /&gt;&lt;BR /&gt;1,$g/./.,.+1j&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 02 May 2001 13:38:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523774#M878411</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-05-02T13:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Join lines together</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523775#M878412</link>
      <description>#split -l 1 your_file&lt;BR /&gt;#paste xaa xab &amp;gt; test&lt;BR /&gt;#paste xac xad &amp;gt;&amp;gt; test</description>
      <pubDate>Wed, 02 May 2001 13:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523775#M878412</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-02T13:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Join lines together</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523776#M878413</link>
      <description>If you want a real quick and dirty way, this script should do it:&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;while read A&lt;BR /&gt;do&lt;BR /&gt;    read B&lt;BR /&gt;    echo "$A$B"&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Pipe the file you want to modify into it and redirect the output to another file. HTH.&lt;BR /&gt;&lt;BR /&gt;-JWJ</description>
      <pubDate>Wed, 02 May 2001 13:39:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523776#M878413</guid>
      <dc:creator>Jerry Jordak</dc:creator>
      <dc:date>2001-05-02T13:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Join lines together</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523777#M878414</link>
      <description>Try the following-&lt;BR /&gt;pr -2tas: yourfile | sed -e 's/://'</description>
      <pubDate>Wed, 02 May 2001 13:40:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523777#M878414</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2001-05-02T13:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Join lines together</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523778#M878415</link>
      <description>Hi Edna:&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;#  awk '{if (NR % 2 == 0) {print X$0} else X=$0} END {print X}' /tmp/yourfile&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 02 May 2001 13:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/join-lines-together/m-p/2523778#M878415</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-05-02T13:49:28Z</dc:date>
    </item>
  </channel>
</rss>

