bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BUG REPORT


From: Jim Meyering
Subject: Re: BUG REPORT
Date: Thu, 12 Jul 2001 12:59:49 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104

"Stephan Menezes" <address@hidden> wrote:
| i have two simple text  files FILE1    and    FILE2    with the following
| contents
|
|
| FILE1
| FILE2
|
| ccode/server.c
| ccode/server1.c
| ccode/server1.c
|
|
| now when i  COMM  it
|
| $ comm   -12  FILE1  FILE2
|
| it gives me no output .   but when i ran the command COMM on a HP-UX
| machine with the same two files  FILE1 and FILE2 , it gave me the correct
| output. (i.e ccode/server1.c )!! which is correct.

Next time, please report which version of comm you're using.
Run this: comm --version

>From your report, I can only guess which lines belong in which file,
but if I do it as follows,

  $ echo ccode/server1.c > f1
  $ (echo ccode/server.c; echo ccode/server1.c) > f2

I do get the expected output:

  $ comm -12 f1 f2
  ccode/server1.c

So I can't reproduce the problem.
I'm using comm from this package:
  ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.14.tar.gz

Maybe you're using a different version of comm,
or (more likely) maybe you have trailing blanks that make it so
the server1.c lines aren't really the same.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]