Unix administration - scripting help

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > December 2007 > scripting help





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author scripting help
jammer

2007-12-17, 1:29 pm

I have two files that are lists.
I want to find out what is in the second list but not in the first
list.
I played around with diff but I don't think it'll do what I want.
I'm thinking awk.
Bit Twister

2007-12-17, 1:29 pm

On Mon, 17 Dec 2007 09:21:07 -0800 (PST), jammer wrote:
> I have two files that are lists.
> I want to find out what is in the second list but not in the first
> list.
> I played around with diff but I don't think it'll do what I want.
> I'm thinking awk.


I'm thinking grep -v -f first.list second.list



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com