[Ilugc] getting file contents

  • From: s.harish@xxxxxxxxx (Harish S)
  • Date: Tue Oct 17 17:57:08 2006

On 10/17/06, Ashok Antony <anjeas_net@xxxxxxxxx> wrote:


hi all,

I have 2 files. ( Ex: file1 and file2 )

file1 has 15 lines and file2 has 20 lines.

in file1 15 lines are common to file2 how can I take the 5 lines from
file2 which is not in file1 ?


man diff

Rgds
Harish

-- 
Visit  me at :http://freeshell.in/~harish

Other related posts: