<?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: Combining files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/combining-files/m-p/2554746#M886735</link>
    <description>This is relatively easy.  Do a:&lt;BR /&gt;&lt;BR /&gt;cat file1 file2 &amp;gt; file3&lt;BR /&gt;&lt;BR /&gt;That will just combine the 2 files.  If you want to sort at the same time:&lt;BR /&gt;&lt;BR /&gt;cat file1 file2 | sort &amp;gt; file3</description>
    <pubDate>Thu, 19 Jul 2001 16:27:01 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2001-07-19T16:27:01Z</dc:date>
    <item>
      <title>Combining files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/combining-files/m-p/2554745#M886734</link>
      <description>I need help combining file1 with file2.  Can someone tell me the command?  I want to make file3 out of 1 &amp;amp; 2 and be able to go in and sort the combined info.</description>
      <pubDate>Thu, 19 Jul 2001 16:22:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/combining-files/m-p/2554745#M886734</guid>
      <dc:creator>Ted Flanders</dc:creator>
      <dc:date>2001-07-19T16:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Combining files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/combining-files/m-p/2554746#M886735</link>
      <description>This is relatively easy.  Do a:&lt;BR /&gt;&lt;BR /&gt;cat file1 file2 &amp;gt; file3&lt;BR /&gt;&lt;BR /&gt;That will just combine the 2 files.  If you want to sort at the same time:&lt;BR /&gt;&lt;BR /&gt;cat file1 file2 | sort &amp;gt; file3</description>
      <pubDate>Thu, 19 Jul 2001 16:27:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/combining-files/m-p/2554746#M886735</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-07-19T16:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Combining files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/combining-files/m-p/2554747#M886736</link>
      <description>Thanks Patrick, I knew it was simple but I couldnt find the command quick enough.  I actually used  &lt;BR /&gt;&lt;BR /&gt;sort -u -o file3 file2 file1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and got the desired results.  The cat command is the one that I was looking for.</description>
      <pubDate>Thu, 19 Jul 2001 16:42:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/combining-files/m-p/2554747#M886736</guid>
      <dc:creator>Ted Flanders</dc:creator>
      <dc:date>2001-07-19T16:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Combining files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/combining-files/m-p/2554748#M886737</link>
      <description>Hi Ted&lt;BR /&gt;&lt;BR /&gt;You can also append&lt;BR /&gt;&lt;BR /&gt;like&lt;BR /&gt;&lt;BR /&gt;cat fileA &amp;gt; file C&lt;BR /&gt;cat fileB &amp;gt;&amp;gt; file C&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Thu, 19 Jul 2001 16:48:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/combining-files/m-p/2554748#M886737</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-07-19T16:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Combining files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/combining-files/m-p/2554749#M886738</link>
      <description>How about copying SIDEWAYS.  To put file1 to the left, and file2 to the right you could do this:&lt;BR /&gt;paste file1 file2 &amp;gt; file3.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jul 2001 16:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/combining-files/m-p/2554749#M886738</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2001-07-20T16:37:26Z</dc:date>
    </item>
  </channel>
</rss>

