The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Comparing 2 list and deleting deuplicate entries
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
Comparing 2 list and deleting deuplicate entries
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
08-14-2007
jim mcnamara
...@...
Join Date: Feb 2004
Location: NM
Posts: 4,365
Your example seems to be backwards from your worded request. List1 should be Tom John?
Anyway, one way to do what you seem to ask
Code:
grep -v -f List2 List1> newlist1; mv newlist1 List1
jim mcnamara
View Public Profile
Find all posts by jim mcnamara