bug-textutils
[Top][All Lists]
Advanced

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

BUG REPT.


From: Stephan Menezes
Subject: BUG REPT.
Date: Thu, 12 Jul 2001 20:44:30 +0530

hello ,
         i  am running Red Hat Linux 7.0 on my machine and i noticed that
there is something wrong with the COMM commmand. it does not produce the
display on the standard output  i.e  monitor. let me explain the type of
operation that i have used it  in .

i have two simple text  files FILE1    and    FILE2    with the following
contents

FILE1--ccode/server.c
       ccode/server1.c


FILE2--ccode/server1.c


instead i have COMM in a script  which COMM's these FILE1 and FILE2 . but
before this happens,,  FILE1 and FILE2 are populated via the      grep  -rl
pink   ccode > FILE1     such type code in the same script .  so u see the
connection , grep redirects its o/p  to FILE1 and also a quite similar grep
redirects to FILE2  and   then  i  COMM these files.
now when i  COMM  it

THE SCRIPT IS LIKE THIS
grep  -rl   pink   ccode > FILE1
grep  -rl   animals   ccode > FILE2
comm   -12  FILE1  FILE2

it gives me no output . so i ran COMM on the command line  $ comm   -12
FILE1  FILE2   with no result .  but   running  the command COMM  at the
command line on a HP-UX  machine with the same two files  FILE1 and FILE2
gave me the correct output. (i.e ccode/server1.c )!! which is correct.




reply via email to

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