Re: awk or sed?
On Tue, 7 Apr 1998, George Bonser wrote:
> > What I want to do is compare the two files, and delete the contents of
> > file1 according to file2. So, from the above, I'll have to delete the word
> > alpha from file1. Can it be possible using sed? or awk?
>
> Hehe, try grep!
>
> grep -vFf file2 file1
Wow, a question to an answer in 3 minutes! that's very fast.... thanks.
regards,
== ========== Andre M. Varon Lasaltech Incorporated
== == ==== Technical Head Fax-Tel: (034)435-0836
== ===== ==
== == == E-mail : andrelst@mozcom.com
======== == WebPage : http://andre.lasaltech.com
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: