diff command help

Hi all

diff file1 file 2

command will give us op of diff between two file. But it aslo give its position and sign "<" or ">". I dont want position and sign in op. Only diff of content should be come as op.

Kindly help me for this.

Regards
Jaydeep

I have actually found the comm command to be more useful for learning similarities and differences in files.

NAME
comm - select or reject lines common to two files

SYNOPSIS
comm [-123] file1 file2

OPTIONS
The following options are supported:

 -1       Suppresses the output column  of  lines  unique  to
          file1.

 -2       Suppresses the output column  of  lines  unique  to
          file2.

 -3       Suppresses the output column of lines duplicated in
          file1 and file2.