<?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: Question on the comm-command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-the-comm-command/m-p/4959172#M415370</link>
    <description>ELR1:comm -13 test1 test2&lt;BR /&gt;1261&lt;BR /&gt;&lt;BR /&gt;This is not correct either. This should not give any result since both values in file2 are in file1.</description>
    <pubDate>Mon, 13 Feb 2006 07:10:29 GMT</pubDate>
    <dc:creator>Johan Andersson_4</dc:creator>
    <dc:date>2006-02-13T07:10:29Z</dc:date>
    <item>
      <title>Question on the comm-command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-the-comm-command/m-p/4959170#M415368</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;I have a question om the comm-command that is used to "select or reject lines common to two sorted files".&lt;BR /&gt;&lt;BR /&gt;I have two sorted files, called test1 and test2. They look like this :&lt;BR /&gt;&lt;BR /&gt;ELR1:more test1&lt;BR /&gt;261&lt;BR /&gt;450&lt;BR /&gt;790&lt;BR /&gt;1006&lt;BR /&gt;1261&lt;BR /&gt;11261&lt;BR /&gt;&lt;BR /&gt;ELR1:more test2     &lt;BR /&gt;261&lt;BR /&gt;1261&lt;BR /&gt;&lt;BR /&gt;If i want the lines that appear in test1 but not in test2, then :&lt;BR /&gt;&lt;BR /&gt;ELR1:comm -23 test1 test2&lt;BR /&gt;450&lt;BR /&gt;790&lt;BR /&gt;1006&lt;BR /&gt;1261&lt;BR /&gt;11261&lt;BR /&gt;&lt;BR /&gt;* 1261 should not appear in the result !*&lt;BR /&gt;&lt;BR /&gt;Print all the lines common to test1 and test2 :&lt;BR /&gt;&lt;BR /&gt;ELR1:comm -12 test1 test2&lt;BR /&gt;261&lt;BR /&gt;&lt;BR /&gt;* Wait...where is 1261 ? *&lt;BR /&gt;&lt;BR /&gt;Strange....what could be wrong ?&lt;BR /&gt;Or am i thinking wrong (i'm tired and it's monday...) ?</description>
      <pubDate>Mon, 13 Feb 2006 06:52:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-the-comm-command/m-p/4959170#M415368</guid>
      <dc:creator>Johan Andersson_4</dc:creator>
      <dc:date>2006-02-13T06:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Question on the comm-command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-the-comm-command/m-p/4959171#M415369</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Is it not  #comm -13 a1 a2 ?? &lt;BR /&gt;&lt;BR /&gt;Take a look at the man page of "comm". It says, &lt;BR /&gt;&lt;BR /&gt;           Column 1:   Lines that appear only in file1,&lt;BR /&gt;           Column 2:   Lines that appear only in file2,&lt;BR /&gt;           Column 3:   Lines that appear in both files.&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 13 Feb 2006 07:02:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-the-comm-command/m-p/4959171#M415369</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-13T07:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Question on the comm-command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-the-comm-command/m-p/4959172#M415370</link>
      <description>ELR1:comm -13 test1 test2&lt;BR /&gt;1261&lt;BR /&gt;&lt;BR /&gt;This is not correct either. This should not give any result since both values in file2 are in file1.</description>
      <pubDate>Mon, 13 Feb 2006 07:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-the-comm-command/m-p/4959172#M415370</guid>
      <dc:creator>Johan Andersson_4</dc:creator>
      <dc:date>2006-02-13T07:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Question on the comm-command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-the-comm-command/m-p/4959173#M415371</link>
      <description>It worked when i ran the sort-command on the files before i ran the comm-command.</description>
      <pubDate>Mon, 13 Feb 2006 09:18:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-the-comm-command/m-p/4959173#M415371</guid>
      <dc:creator>Johan Andersson_4</dc:creator>
      <dc:date>2006-02-13T09:18:10Z</dc:date>
    </item>
  </channel>
</rss>

