View Single Post
Old 12-22-2011, 08:20 PM  
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Ps you may need to sort your list first:
sort want.txt > sorted.txt

diff sorted.txt have.txt


diff is also great for figuring out what changed between two versions of a file:
diff -Bb file.bak file.html

Last edited by raymor; 12-22-2011 at 08:21 PM..
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote