View Single Post
Old 02-11-2004, 06:47 PM  
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
linux guru's: question comparing files

whats a quick way to compare two files or lists and display results where all lines that are in both files ?

list1
apple
banana
oranage

list2
apple
cherry
grape

output:
apple
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote